Question 1176078
.


<H3>H I N T</H3>

<pre>
If a segment  PQ  in a coordinate plane is given by coordinates of  its  endpoints


    P = (a,b)  and  Q = (c,d),


then the mid point is  M = ({{{(a+c)/2}}},{{{(b+d)/2}}}).


So , the simple rule works:


    - x-coordinate of the mid point is arithmetic mean of the x-coordinates of endpoints

    - and similar rule works for y-coordinate.
</pre>

Having it, &nbsp;you can solve &nbsp;ANY &nbsp;problem of this class &nbsp;ON &nbsp;YOUR &nbsp;OWN.