Two angles are complementary. One angle has a measure of 40° and the other has a measure of (8x+2)°. What is the value of x?

Two angles are complementary if their measures add up to 90°.

Given that one angle has a measure of 40° and the other has a measure of (8x+2)°, we can set up the equation:

40° + (8x+2)° = 90°

Simplifying the equation, we get:

40° + 8x + 2° = 90°

Combining like terms, we have:

42° + 8x = 90°

Subtracting 42° from both sides of the equation, we get:

8x = 48°

Dividing both sides by 8, we get:

x = 6°

Therefore, the value of x is 6°.