Algebra Examples

Solve by Substitution y=x^2+7x-5y=6x+7
I am unable to solve this problem.