The three lengths are
and
and 
Law of cosines :
.



.

.
The two lengths are
and
.
The angle is
.
Law of sines :
.




The sum of the angles in any triangle is
.
The two angles are
and
.
The remaining angle
.

Therefore
,
and
.
Therefore
,
and
.