Which step is incorrect? Look at picture

Answer:
step 4 is incorrect.
there must be;
cos(π/2-x)cos(y)-sin(π/2-x)siny