a*b*c=2=>ab=2/c
a+b+c=6=>a+b=6-c
a^2+b^2+c^2=25
(a+b)^2-2ab+c^2=25
(6-c)^2-4/c+c^2=25
2c^3-12c^2+11c-4=0