Algebra Examples

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