Solving Systems of Equations in Three Variables