X+6=-18 how to solve problem

x = -24

subtract 6 from both sides