Let us begin by choosing an arbitrary point on the given line x=2y. If we denote the ordinate of this point by the parameter k, then the abscissa must be twice the ordinate. So the point can be written as P(2k,k).
From this point P we drop a perpendicular to the line x=y. To find the foot of this perpendicular we recall the standard formula:
For a line written as ax+by+c=0 and an external point (x1,y1), the coordinates of the foot of the perpendicular (x′,y′) are given by
x′=x1−a2+b2a(ax1+by1+c),y′=y1−a2+b2b(ax1+by1+c).
Writing x=y as x−y=0 we identify a=1,b=−1,c=0. For the point P(2k,k) we now compute
ax1+by1+c=1(2k)+(−1)(k)+0=k,
a2+b2=12+(−1)2=2.
Substituting these values into the formula, the coordinates of the foot Q are
xQ=2k−21(k)=2k−2k=23k,
yQ=k−2(−1)(k)=k+2k=23k.
Hence Q(23k,23k) lies on the line x=y, as expected.
We now seek the midpoint M of the segment PQ. The midpoint formula is
M(xM,yM)=(2xP+xQ,2yP+yQ).
Using P(2k,k) and Q(23k,23k) we obtain
xM=22k+23k=224k+3k=227k=47k,
yM=2k+23k=222k+3k=225k=45k.
Thus the running midpoint has coordinates M(47k,45k).
To find the locus we eliminate the parameter k. From the coordinates we have
k=74xM,k=54yM.
Equating these two expressions for k gives
74xM=54yM⟹7xM=5yM⟹5xM−7yM=0.
Since (xM,yM) is a general point on the required locus, the locus is represented by the straight‐line equation
5x−7y=0.
Hence, the correct answer is Option B.