(i)
Find the gradients
(ii)
Find the gradients