how do you do equations with variables on both sides?

http://www.algebralab.org/studyaids/studyaid.aspx?file=Algebra1_3-3.xml