CMIMC 2021 Algebra and Number Theory Division 2 Problem 8

Let f(x)=\frac{x^{2}}{8}. Starting at the point (7,3), what is the length of the shortest path that touches the graph of f, and then the x-axis?