We have that two complementary angles together form a 90º angle:
a + b = 90º
Since a = 59º, then
59º + b = 90º
then, taking 59º to the right side of the equation:
b = 90º - 59º = 31º
Answer: b = 31º