Back prog and gradient descent

I am not able to complete week 4 course 2 last 2 exercise of back progration and gradient descent. Kindly help

When a mentor for this course replies here, it would be helpful if they could have more details about the issue.

Perhaps post a screen capture of any error messages or asserts.