[tex]x = 6y - 18 \\ 6y - 18 = x \\ 6y = x + 18 \\ y = \frac{x + 18}{6} [/tex]
Alternative Answer:
[tex]y = \frac{x}{6} + 3[/tex]
Both of them work.