y=x-5, y=x^2-2x-9

Check the final answer first, then review the worked steps.

Answer

\((4, -1) \text{ or } (-1, -6)\)

Work

x - 5 = x^2 - 2x - 9 \\ x^2 - 3x - 4 = 0 \\ (x-4)(x+1) = 0 \\ x=4 \implies y=4-5=-1 \\ x=-1 \implies y=-1-5=-6

Step-by-step solution

Substitute $y = x - 5$ into the second equation: $x - 5 = x^2 - 2x - 9$. Solving $x^2 - 3x - 4 = 0$ gives $(x-4)(x+1)=0$, so $x=4$ or $x=-1$.