Transform the given expression into an equation.
The sum of three consecutive integers is 18
x + (x + 1) + (x + 2) = 18
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Transform the given expression into an equation.

### Response:
x + (x + 1) + (x + 2) = 18