We have the three vertices of the triangle as P(2,2),Q(6,−1)andR(7,3). The median PS is drawn from the vertex P to the midpoint S of the side QR, so we first find the coordinates of this midpoint.
The midpoint formula says that the midpoint of (x1,y1) and (x2,y2) is
(2x1+x2,2y1+y2).
Applying the formula to Q(6,−1) and R(7,3), we obtain
S=(26+7,2−1+3)=(213,22)=(213,1).
Now we determine the slope of the median PS. The slope formula for the line through points (x1,y1) and (x2,y2) is
m=x2−x1y2−y1.
For the points P(2,2) and S(213,1), we have
mPS=213−21−2=213−24−1=29−1=−9/21=−92.
Hence the slope of any line parallel to PS is also −92. We now need the equation of the line that passes through the point (1,−1) and has this slope.
We use the point-slope form of a straight line, which is
y−y1=m(x−x1),
where (x1,y1)=(1,−1) and m=−92. Substituting,
y−(−1)=−92(x−1).
Simplifying step by step:
y+1=−92x+92.
To clear the denominator, multiply every term by 9:
9(y+1)=−2x+2.
Expanding the left side gives
9y+9=−2x+2.
Now bring every term to the same side to get the equation in standard form:
2x+9y+9−2=0⟹2x+9y+7=0.
Thus the required equation is
2x+9y+7=0.
This matches Option D in the given list. Hence, the correct answer is Option D.