To solve this question you would need to use the speed of sound formula which is 331.4 m/s. Then you would need to calculate the time interval from when the ball was hit to when you heard it. As so your friend. From there calculate your times with the formula and you will see who hears the "crack" first.