Precalculus Examples

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