To solve a system of equations by substitution, solve one of the equations for a variable, for example x . Then replace that variable in the other equation with the terms you deemed equal and solve for the other variable, y . The solution to the system of equations is always an ordered pair.