Equations involving two variables