W2 Derivation of DJ/dw and DJ /Db

We find these by Backpropagation. Please check this post and yet another one for more explanation.