We begin by placing the whole arrangement on an XY-plane whose X-axis is the horizontal ground. Let us choose the origin at the foot of the first pole.
Thus we take
A(0,0),D(0,8),B(10,0),C(10,11).
The heights AD=8 m and BC=11 m give the y-coordinates of D and C, while the distance AB=10 m fixes the x-coordinate of B and C.
The point M lies somewhere between A and B on the ground. If we call the distance AM=x m, then M has coordinates
M(x,0),0<x<10.
Our objective is to minimise
MD2+MC2.
Instead of the actual distances we may minimise their squares because the square‐root function is increasing.
For any two points (x1,y1) and (x2,y2) on a plane, the distance-square formula is
(distance)2=(x2−x1)2+(y2−y1)2.
Applying this to M(x,0) and D(0,8) we have
MD2=(x−0)2+(0−8)2=x2+64.$
Similarly, between M(x,0) and C(10,11) we get
MC2=(x−10)2+(0−11)2=(x−10)2+121.$
Adding these two expressions gives
MD2+MC2=(x2+64)+((x−10)2+121)=x2+64+x2−20x+100+121=2x2−20x+285.$
We now have a quadratic function of x:
S(x)=2x2−20x+285.
A quadratic ax2+bx+c attains its minimum at
x=−2ab.
Here a=2 and b=−20, so
x=−2⋅2−20=420=5.$
The value x=5 indeed lies between 0 and 10, so it is admissible. Therefore the point M must be chosen 5 metres from A to minimise the required sum of squares.
So, the answer is 5.