Let us recall the following methods to solve the pair of linear equations:
Method - 1:
Substitution method:
Let us learn how to solve the system of linear equations using the substitution method.
The steps to solve the system of linear equations using the substitution method is given by:
 
Step 1: From the given two equations, consider an equation. Find the value of one of the variables in terms of the other.
 
Step 2: Substitute the value (obtained in Step 1) in the other equation.
 
Step 3: Now, simplify the equation and find the value of the other unknown variable.
 
Step 4: Substituting the obtained value (variable in Step 3) in the equation (obtained in Step 1), we get the value of the first unknown variable.
Method - 2:
Elimination method:
Let us learn how to solve the system of linear equations using the elimination method.
Step 1: First, multiply either one equation or both the equations by a number such that in both the equations, either the coefficients of the first variable or the coefficients of the second variable are equal.
 
Step 2: Add both the equations or subtract one equation from the other so that the equal coefficients gets cancelled.
 
Step 3: Solve the obtained equation in Step 2 to find the value of one of the variables.
 
Step4: Substitute the value of one of the variables(obtained in Step 3) in any one of the two equations to find the value of the remaining variable.