Explain how the curve y=x^3+3x can be transformed onto the curves

i) y=2x^3-24x^2+102x-152
ii) y=2x^3-24x^2+102x+8

many thanks!