Simplify

First, we take 7 as a common factor of all terms:

Now we need to factor the expression in parentheses. There is no direct method to do it, just by guessing or trial and error to find the 'hidden' factor.

The transformations above will help us to find a common factor. We'll factor in pairs:

Factoring n-2:

Thus, the final simplification is:
