First rewrite so its easier to see: (x-1)(x-1)(x-1) Now first solve (x-1)(x-1), which is easy right? you get x^2-2x+1. Now you multiply this by (x-1) again. First multiply across by x to get x^3-2x^2+x, now multiply across by -1 to get -x^2+2x-1. Now remember to add up the two parts to get x^3-2x^2+x-1.