Step-by-step explanation:
See whenever we have two variables like x and y.
And also we have given two equations in terms of x and y.
Example: ax + by = p and cx + dy = q
In order to get the solution, we need to find the value of x and y using the given two equations.
So here what we can do is:
Consider any one equation and get x or y from that equation.
i.e consider ax + by = p or x = 
Now plug value of x (or y) from the equation you have considered into the another equation.
i.e c(
)+dy = q
Now solve this equation to get y (or x).
and after that we can find the other variable.