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