The correct option is D containing the square
Let the sides of the square be x=0,y=0,x=1,y=1 and the centre of the square being (0.5,0.5).
Now for a point (x,y), as per the given condition, x2+y2+(x−1)2+(y−1)2=9
⇒2x2+2y2−2x−2y−7=0
As we see the equation can be written as x2+y2−x−y−3.5=0
The centre of the circle is (0.5,0.5) and the radius is √3.5+0.5=2
Thus, the square is contained inside the circle.