Stuck at function propagate in exercice 5 week2

Please have a look at this thread which shows examples about how to use transpose in computations like the cost formula here.