Assume each triangle has the given measurements. Solve for the remaining sides and angles.
a. a = 5, b = 8, c = 9
b. a = 4, b = 5, A = 40°