y=(x-1)^2 *(x-3)^2
y ' = 2(x-1) * (x-3)^2 + (x-1)^2 * 2(x-3)
= 2(x-1)(x-3)[(x-3)+(x-1)]
=2(x-1)(x-3)(2x-4)
=4(x-1)(x-2)(x-3)
y'' = 4(x-2)(x-3) + 4(x-1)(x-3) + 4(x-1)(x-2)
y=(x-1)^2 *(x-3)^2
y ' = 2(x-1) * (x-3)^2 + (x-1)^2 * 2(x-3)
= 2(x-1)(x-3)[(x-3)+(x-1)]
=2(x-1)(x-3)(2x-4)
=4(x-1)(x-2)(x-3)
y'' = 4(x-2)(x-3) + 4(x-1)(x-3) + 4(x-1)(x-2)