1)
Y=(X-1)(x+8)(x+4)
Y=(x-1)(x^2+12x+32)
Y=x^3+12x^2+32x-x^2-12x-32
Y=x^3 + 11x^2 + 20x - 32
2)
Y=2(x-2)^3
Y=2(x-2)(x-2)(x-2)
Y=2(x-2)(x^2-4x+4)
Y=2(x^3-4x^2+4x-2x^2+8x-8)
Y=2(x^3-6x^2+12x-8)
Y=2x^3 - 12x^2 + 24x - 16
I’m pretty sure these are right. Hope it helps