Algebra Examples

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