no i don't know how to do it for this question because it has x^2 and y^2 in it!
Solve for x (which is equal to 5 - y), substitute into the second equation (which is quadratic - I hope you know how to solve a quadratic equation). Once you figure out y, then you can get x from the first equation.