Concept: The question tests on Rates (Time Speed Distance)

Solution:
Here the distance to and fro is the same. Let this distance = d

Total time = Time walking + Time riding

6=d/5+d/10=2d+d/10

Therefore 3d = 60 or d = 20 km

Option C