Precalculus Examples

Solve by Substitution y=-x^2+242x+y=0
I am unable to solve this problem.