Equations with multiple variables and coefficients