Concept:The midpoint of a diameter is the centre of the circle, and half the diameter gives the radius.Explanation:Let E(−2,−1) and F(3,2) be the endpoints of the diameter.Centre C is the midpoint of EF:C=(2−2+3,2−1+2)=(21,21).Radius squared r2 is the square of the distance from C to F(3,2):r2=(3−21)2+(2−21)2=(25)2+(23)2=425+49=434=217.The circle equation with centre (a,b) is (x−a)2+(y−b)2=r2.So, (x−21)2+(y−21)2=217.Expanding:x2−x+41+y2−y+41=217.x2+y2−x−y+21=217.x2+y2−x−y−8=0.Answer:x2+y2−x−y−8=0Correct option: D.