Let x be the bottom side of the smaller right triangle. Let H1 be the hypotenuse of the big right triangle and H2 be the hypotenuse of the smaller right triangle. Now, you can represent sinA, sinB, cosA, and cosB in terms of all these sides. So, we plug them into your right hand side (the double angle identity of sin(A - B) is needed to isolate all of the above):

Now if this was really representative of h, then this entire expression should simplify to h. Can you show that?