Yeah, you're not alone, as it is confusing initially. At least, it was for me too.
confirmRide in this case.
I do of course get that many do not see it this way, and think the contrived nature of the problem combined with the inherent confusion detracts from any pedagogical value. And, depending on the level of experience, if frustration is outweighing any benefit from what I'm terming good-confusion, it's imo not worth it.
I don't think that this type of thing will be employed going forward with any new versions of this course: attempts will be made to make things more realistic, which could make it more confusing but at least not confusing due to naming, or purpose of the code, or problem description, etc.
Good job figuring this out, too!