Algebra Examples

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