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 ?(1 point)

Since the two angles are complementary, their measures should add up to 90 degrees. Therefore, we can set up the equation:

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

Now we can solve for x by isolating the variable:
8x + 42 = 90
8x = 90 - 42
8x = 48
x = 48/8
x = 6

So the value of x is 6.