Do you mean actual distance to the ball (very difficult) or just horizontal distance (x coordinate). If it's just x coordinate, you are finding the parabola that fits the data:
It will be a vertically shifted (by 2) parabola of the form k(x)(x-30) = y from the zeroes. Find k from the max height at the midpoint (15, 6) (note that the max height is adjusted for the symmetrical parabola 2 feet lower at every point:
6 = k(x)(x -30) k = -6/225
The final equation would be (-6/225)(x)(x-30) + 2 = y
Please consider a tutor. Take care.

JACQUES D.
10/03/22
Breanna F.
The equation would be y= (the number that’s needed) (d+15)^2+810/03/22