I sent a post earlier. Follow is an original problem. I got an error identity from a previous calculation error. Now there should be no problem.
Problem::
let $x,y\in (0,\dfrac{\pi}{2})$. show that $$\dfrac{\sin{(x+y)}\tan{x}-\cos{(x+y)}}{\sin{(x+y)}\tan{y}-\cos{(x+y)}}=\dfrac{\cos{(2x+y)}\cos{y}}{\cos{(x+2y)}\cos{x}}$$
This identity comes from the fact that I deal with a geometric problem and use trigonometric functions to calculate an identity that needs to be proved.Thanks