for a friend who wanted to find out how far he wanted to lead his shot when aiming at an enemy at x meters away with a velocity and latency given as well as player speed