def ball_trajectory(x):
    location = 10*x - 5*(x**2)
    return(location)
