Equations with variables on both sides