Answer
$(x^n+9)(x^n-2)$
Work Step by Step
The given expression can be written as:
$\\(x^n)^2+7x^n-18$
The constant term of $-18$ has the factors 9 and $-2$, the sum of which, 7, is equal to the coefficient of the middle term.
Thus, the factored form of the given trinomial is:
$\\=(x^n+9)(x^n-2)$