What is the value of x?
We know that cos(A)=sin(90-A)
We also know that if sin(A)=sin(B) then B=A+360K or B=180-A+360K (think about it)
x+37=82-2x+360K / add 2x, and subtract 37
3x=45+360K / divide by 3
x+37=180-(82-2x)+360K=98+2x+360K / subtract (37+2x)
-x=61+360K / divide by -1