Solve the equation 12x + 6y = 24 for x.

x= 2 - 1/2y
x= 1/2y + 2
12x = 24 - 6y

Dividing both sides of the equation 12x + 6y = 24 by 12, we get:

x + (1/2)y = 2

Subtracting (1/2)y from both sides, we have:

x = 2 - (1/2)y