kill(all)$

van=facebook.com/LearningCalculus$

f(x):=(x-4)^2+(x-5)^2+(x-6)^2 -5;

expand(f(x));

factor(f(x));