The given system is
Let's replace the second equation with the first one.
Now, we solve the quadratic equation.
Then, we have to find two numbers whose product is 4 and whose sum is 5. Those numbers are 4 and 1.
We use these values to find y.
Hence, the solutions to the given system are (4,49) and (1,7).