minimize (|x - y|^2 + |x - z|^2 + |y - z|^2)