We can either substitute eq (i) into eq (ii), or vice-versa, which ultimately will result in the equations being set equal to each other, as in:
x - 12 = - 7x + 12 ------ Multiplying by LCD, 3
x + 7x = 12 + 12
8x = 24
----- Substituting 3 for x in eq (i)