3a+4a+9=-12+43-6a Original equation
7a+9=31-6a I simplified like terms
13a+9=31 I added 6a to each side to cancel out the -6a on the left
13a=22 I subtracted 9 from each side to cancel out the 9 on the right
a=22/13 I divided both sides by 13 to simplify