In terms of p, the location of point of line CD is 5 units away from D.
Identifying similar distance on the graph.
In the given graph, the distance between line AB as the direction of the arrow goes up is 2 unit. The location of point p on line AB shows that p is the midpoint of line AB.
In the same manner, between line CD, there are 10 units, to identify the location of point p, it means p will be the midpoint of line CD and the direction of the arrow will be in an upward direction.
Thus, the midpoint is 5. Kindly see the attached image below for the midpoint of line of line CD.
For line DC, the direction of the arrow of midpoint p will be in the opposite direction of line CD.