v^3-t^2v-tv^2+t^3=t(t^2-v^2)-v(t^2-v^2)=(t-v)(t-v)(t+v)=(t-v)^2(t+v)
0.125+p^3-p(0.5+p)=(0.5+p)(0.25-0.5p+p^2)-p(0.5+p)=
=(p+0.5)(0.25-0.5p+p^2-p)=(p+0.5)(0.25-1.5p+p^2)
v^3-t^2v-tv^2+t^3=t(t^2-v^2)-v(t^2-v^2)=(t-v)(t-v)(t+v)=(t-v)^2(t+v)
0.125+p^3-p(0.5+p)=(0.5+p)(0.25-0.5p+p^2)-p(0.5+p)=
=(p+0.5)(0.25-0.5p+p^2-p)=(p+0.5)(0.25-1.5p+p^2)