The sum of the measures of angle P and angle Q in 180°. The measure of angle P is (4x + 12)°. The measure of angle Q is (2x - 24)°. What is the value of x?