The given condition is
cos4x sin2y + sin4x cos2y = sin2ycos2y
= sin2y(1 −sin2y) = sin2y −sin4y
Therefore,

Similarly, on the R.H.S. of Eq. (1), replacing sin2y by 1 − cos2y and simplifying as shown above, we get
cos4y/cos2x = cos2 y + cos2 y sin2x - cos2 x sin2y
By adding Eqs. (2) and (3), we get the desired result.