Find the derivative of implicit function sin (x + 2Y) = ln XY, the answer to be detailed, thank you

Find the derivative of implicit function sin (x + 2Y) = ln XY, the answer to be detailed, thank you

The derivation of X on both sides is as follows:
cos(x+2y)*(1+2y')=1/(xy)*(y+xy')
xycos(x+2y)+2xyy'cos(x+2y)=y+xy'
We get: y '= [y-xycos (x + 2Y)] / [2xycos (x + 2Y) - x]