Calculate x and y distance of prey and predator