Factorization: y ^ n-y ^ (n-2), (n is an integer and N is greater than 2)

Factorization: y ^ n-y ^ (n-2), (n is an integer and N is greater than 2)

y^n-y^(n-2)
=y^2*y^(n-2)-y^(n-2)
=y^(n-2)(y^2-1)
=y^(n-2)(y-1)(y+1)