Maybe you can do something with this.
You also have the equation , from which
Square the equations (1) and (2) and add:
That simplifies to give the result that you want.
Notice that this is really a problem about a triangle, with sides a, b, c and angles (opposite the side a) and (opposite the side b). The equation (1) is then the sine rule, and the equation is the cosine rule.