Explanation:
-7x+26=12
--------------------------
subtract 26 from both sides
-7x+26-26=12-26
----------------------------------------------
simplify
-7x=-14
------------------
divide both sides by -7
-7/-7 = -14/-7
----------------------------------
simplify once more
x=2