Can someone help me with this equation please?

Find the general solution to : cos(5x) = sin(4x)

I had it for a test today and just want to know the answer coz I had no idea what to do

I started off changing it to sin(pi/2 - 5x) - sin(4x) but not sure if it's right and if it is not sure where to go from here.