I don't know the difference between dZL = AL - Y and dZL = dAL .* g'(ZL)

any suggestions how this can be derived?