Perform the indicated operation

(w^2-1)/(w-1) x (w^2+2w+1)

(w^2 + 2w + 1) = (w + 1)^2

(w^2 - 1) = (w - 1)(w + 1)
Therefore, (w^2 - 1) / (w - 1) = (w - 1)(w + 1) / (w-1) = (w + 1)

Multiply (w + 1) by (w + 1)^2

(w + 1)(w + 1)^2
= (w + 1)^3