It's necessary because that's what you have to do in this task

If you replace with in both equations and solve for , you will get the equation which is quadratic. To solve a quadratic equation, you need to calculate its discriminant where are the coefficients of the equation. The solutions are