Use the FOIL method to find the product

(3x^2-5)(x^5-9)

3x^7-5x^5-27^2+45