Solving Equations with Variable on Both the Sides