Math.. and i don't understand this... plz go throw steps w me..

Like ex: 2 complementary angles a 24 degrees different. How much does each angle measure?
Equation1: Equation:

Method1: Method2:

A = X Degrees.

B = (x+24) Degrees.
The sum of 2 complimentary angles = 90o:
A + B = 90o
X + (x+24) = 90
2x + 24 = 90
2x = 90-24 = 66
X = 33o
X+24 = 57o