Trying to make a trajectory prediction line!

I recently watched Jonas Tyroller’s devlog : His video
At 4:30 in the video it shows a trajectory prediction line thing that I really want to make for a level in my game that is almost the exact same as the volleyball one in the video. Someone please tell me how to make it.

Whilst I am dubious about the methodology. The method he talked about is outlined here: