Check the final answer first, then review the worked steps.
y = x^2 - 10x - 5y = (x^2 - 10x + 25) - 25 - 5y = (x - 5)^2 - 30