(i) Average speed = total distance travelled ÷ time interval.
Total distance = 4 km + 2 km = 6 km.
Time interval = 15 min + 5 min + 10 min = 30 min = 0.5 h. The 5 min stop is part of the time interval, because the trip lasted from when she set off until she arrived.
average speed=0.5 h6 km=12 kmh−1
(ii) The friend left out the 5 min that Sneha spent at rest in the shop and used only 25 min of cycling:
6025 h6 km=14.4 kmh−1
Average speed must use the whole time interval, including any time the object is at rest. Leaving out the stop makes the average speed come out too large.