First, let us solve all the angles.
We are told that the triangle is right; therefore the angle C is 90°. And for angle B, we know that the sum of angles in a triangle is 180°; therefore,

Subtracting 90° from both sides gives

Subtracting 31° from both sides gives

Now that we have angles in hand, we now solve for the sides.
Using the cosine ratio we know that

Multiplying both sides by c gives

dividing both sides by cos 31 gives


Now we find the length a, and for that we use the tangent.

solving for a gives

Hence,
A = 31°
B = 59°
C = 90°
a = 35.7
b = 59.4
c = 64.9