We have a system of equations:

If we have to solve it by substitution, we can replace y in the second equation given that y is already cleared in the first equation. Then, replacing y, we can solve for x:

With the value of x, we can solve for y as:

Answer: the ordered pair (x,y) that is a solution to the system is (3,10)