solve the following

-3x = -18

just divide both sides by -3

x = 6