Algebra Examples

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