Distance Shalini walked to the ice cream shop = 500 m
Distance Shalini covered by bus = 3 km 500 m
= 3000 + 500
= 3500 m
Distance from bus stop to grandparent's place = 500 m
Total distance covered = 500 + 3500 + 500
= 4000 + 500
= 4500 m or 4 km 500 m