Solve the right triangle with the given sides and angles.

a = 3.0, B = 31.0°

A + B = 90o

A + 31 = 90
A = 59o.

c*sin 59 = 3.
c = 3/sin59 = 3.50

tan 59 = 3/b
b = 3/tan 59 = 1.80