Pregunta de entrevista de AimPlus Education

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