Say where you are already going and which part of the trip you can offer. Be clear about whether a return ride is available.
Offer one workable time, then let them choose. If they decline, carry on without asking them to explain their transportation plans.
Try, “I’m passing the library at ten. I can take you there if it helps. I’m heading to work afterward, so it would be one way.”