The total angle is a right angle. Complementary angles are angles that add up to 90 degrees. Right angles are 90 degrees so the answer is complementary.
We know that together they make a right angle(That's why the square is there and complementary angles are two angles who have the sum of 90 degrees. An right angle is 90 degrees which is why it is complementary. Now, these angles have to be the sum of 90 so:
90-24=66 because we know that one angle is x+24 so we have to subtract 42 from 90(the whole angle) to get 66
66/2=33 which equals x because we have to assume that x is the same and the only way to do that is by dividing it by 2 to get 33 so