What is the value of 2x^3+x^2-x when x=3?