Rewrite the middle term.Rearrange terms.Factor first three terms by perfect square rule.Since both terms are perfect squares, factor using the difference of squares formula, where and .Simplify.Tap for more steps…Reorder terms.Reorder terms. Factor x^4+x^2+1