kill(all)$

van=facebook.com/LearningCalculus$

f(x):=1+x+x^2;

s:solve(f(x),x);

rectform(rhs(first(s))^3);

rectform(rhs(second(s))^3);