Consider that if x is the smaller angle and y is the grater angle, you can write:

the two angles are complementary, then, you can write:

In order to determine the values of x, proceed as follow:
Solve for y from the first equation:

Next, replace the previous expression into the second equation and solve for x:

Hence, the smaller angle is 42 degrees