Lines AB and CD are perpendicular to each other. If 1 measures (3x + 2)°, and 2 measures 40°, what is the value of x?

If lines AB and CD are perpendicular to each other, then the angles formed by the lines are complementary, meaning they add up to 90 degrees.

The measure of angle 1 is (3x + 2)°.
The measure of angle 2 is 40°.
Therefore, (3x + 2)° + 40° = 90°.
Combining like terms, 3x + 42 = 90.
Subtracting 42 from both sides, 3x = 48.
Dividing both sides by 3, x = 16.
Therefore, the value of x is 16. Answer: \boxed{16}.