Answer:
The trajectories and thus the range of the car and the pumpkin are identical.
Step-by-step explanation:
Trajectory of projectile is given by

Also range is given by,

Trajectory and path both are independent on mass. Only depends on initial speed u and angle of projection

So Range and Trajectory both will be same.
Identical trajectory and equal range.
Therefore, The trajectories and thus the range of the car and the pumpkin are identical.