Answer:
[tex]d=1.67mi[/tex]
Explanation:
Assuming the light takes essentially no time to reach you, the distance at which the lightning occurred can be calculated by multiplying the speed of sound by the time it takes to hear the thunder:
[tex]d=v_st\\d=344\frac{m}{s}(7.8s)\\d=2683.2m*\frac{1mi}{1609.34m}=1.67mi[/tex]