graph y=x+x^2, y=3x