AB^2=(x-1)^2+(3-2x)^2+(3x-3)^2
=x^2-2x+1
+4x^2-12x+9
+9x^2-18x+9
=14x^2-32x+19,
当x=8/7时AB^2最小,|AB|最小.