Answer
See below
Work Step by Step
Given: $y=-\frac{g}{10000}x^2+x$
For the part of the ball on Earth, we substitute $g=32$. We have: $y=-\frac{32}{10000}x^2+x=-0.0032x^2+x$
For the part of the ball on the moon, we substitute $g=5.3$: $y=-\frac{5.3}{10000}x^2+x=-0.00053x^2+x$