Four buses leave every hour, because 4×15=60 minutes. So the minutes in the times repeat every hour in the pattern :10, :25, :40, :55.
(i) 9:40 has the minutes :40, which is in the pattern. The buses after 9:00 are at 9:10, 9:25, 9:40, 9:55. So yes, there is a bus at 9:40 a.m. (Also, from 6:10 to 9:40 is 210 minutes, and 14×15=210, so it is exactly 14 buses after the first one.)
(ii) The buses after 8:00 are at 8:10, 8:25, 8:40, 8:55. The minutes :50 are not in the pattern, so no, there is no bus at 8:50 a.m. The nearest buses are at 8:40 and 8:55 a.m.