Solve for x in the given equation
2x+6=12
2x = 12 - 6
2x = 6
x = 3
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Solve for x in the given equation

### Response:
2x = 12 - 6
2x = 6
x = 3