The locus of a point, such that the sum of the squares of its distance from the planes x+y+z=0,x−z=0 and x−2y+z=0 is 9, is