Rewrite the division as a fraction.
Rewrite as .
Let . Substitute for all occurrences of .
Factor using the AC method.
Consider the form . Find a pair of integers whose product is and whose sum is . In this case, whose product is and whose sum is .
Write the factored form using these integers.
Replace all occurrences of with .
Apply the distributive property.
Apply the distributive property.
Apply the distributive property.
Simplify each term.
Multiply by by adding the exponents.
Use the power rule to combine exponents.
Add and .
Move to the left of .
Multiply by .
Subtract from .
Split the fraction into two fractions.
Split the fraction into two fractions.
Move the negative in front of the fraction.
Move the negative in front of the fraction.
Divide (a^(2n)-a^n-6)÷(a^n+8)