Simplify (5x^2+x-4)(x+2)