Equations with three variables