ab+2a+2b=−16,soab+2a+2b+4=−12,(a+2)(b+2)=−12……(1)
Similarly,
(a+2)(c+2)=30……(2)(b+2)(c+2)=−10……(3).
Let
a+2=t,then from (1) and (2), b+2=−12/tc+2=30/t.
Substitute into (3),
(−12/t)(30/t)=−10,t2=36,t=±6.
If t=6, then a=4,b=−4,c=3.
If t=−6,thena=−8,b=0,c=−7.
.