At a brisk pace you could probably walk 3 km in 20 to 25 minutes.
Assuming you are walking at at least 2m per second without stopping it would take approx 25 minutes to walk 3km.