Use the image to answer the question.

An illustration shows a right angle. A ray extends from the right angle to create complementary angles. One angle measures 25 degrees. The other angle measures 5 x degrees. The angles are not labeled.

Solve for the value of x .

Since the angle measures 25 degrees and x degrees are complementary, their sum must be 90 degrees (since they form a right angle).

Therefore, we can set up the following equation:

25 + 5x = 90

Subtracting 25 from both sides:

5x = 90 - 25

Simplifying:

5x = 65

Dividing both sides by 5:

x = 13

So, the value of x is 13.