Two-variable systems of equations