Hello everyone, I need help solving this question:

Spiderman is running along the rooftops jumping from building to building. The distance between 2 buildings is 20m. What trajectory would be most efficient for him to jump at? At that angle,what must his minimum velocity be to make the jump?

Thank you very much!

Max distance at the angle 45º

L=vₒ²•sin2α/g,
vₒ=sqrt(L•g/ sin2α)=sqrt(20•9.8/1)=14 m/s