A的2次方+B的2次方+C的2次方-AB-AC-BC
=2(A²+B²+C²-AB-AC-BC)/2
=[2A²+2B²+2C²-2AB-2AC-2BC)/2
=[(a-b)²+(a-c)²+(b-c)²]/2
=(1+5+1)/2
=7/2