Solve equations with Variables on Both Sides