Algebra Examples

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