That’s an urban planning problem. My dad’s detour to drop me off at daycare when I was little was a 10 minute bike ride. When I was old enough to go to school, there was no detour because it was on the way to his work. Shops are also on the way or at most a 5 minute detour.
Don’t even need that. My parents used to have a kid seat on the front and the back of the bike so they could take us both. When you’re getting too big to fit on the seat, you learn how to ride a bike yourself.