The distance (in km) of 40 engineers from their residence to their place

The distance (in km) of 40 engineers from their residence to their place of work were found as follows!
image
What is the empirical probability that an engineer lives
(i) less than 7 km from her place of work?
(ii)more than or equal to 7 km from her place of work?
(iii)within 1/2 km from her place of work?

∵Total number of engineers lives = 40 [given]
(i) The number of engineers whose residence is less than 7 km from their place=9
image
(ii) The number of engineers whose residence is more than or equal to 7 km from their place of work = 40 - 9 = 31.
image
image