AimPlus Education interview question

Solving a math problem to find the midpoint between two points on a graph