Decomposition factor (x + y) to the power of M + 1 - (x + y) to the power of M-1 (integers with m greater than 1)

Decomposition factor (x + y) to the power of M + 1 - (x + y) to the power of M-1 (integers with m greater than 1)

(x+y)^(m+1)-(x+y)^(m-1)
=(x + y) ^ (m-1) * [(x + y) ^ 2-1] (extract common factor)
=(x + y) ^ (m-1) * (x + y + 1) (x + Y-1) (square difference formula)