Suppose B rides the motorbike and A and C are passenger/pedestrians. Let the journey start at O and end at D. It is clear that B has to do separate journeys for the others, who can also spend time walking, and that they don't necessarily need to arrive at D all at the same time, as long as they are all there within 3 hours. We assume all drop-offs and changeovers are instantaneous.
We can break the whole episode into five time intervals:
- B takes A to a point P so that OP $=x$ while C starts to walk.
- B returns to pick up C while A is left to continue walking.
- B and C go all the way to D.
- B returns to pick up A.
- A and B go to D, and the process is complete.
Accordingly,
- $t_1=\frac{x}{50}$
- In this time, C has walked $5t_1=\frac{x}{10}$. B and C are approaching each other at speed $55$, so B reaches C in time $t_2=\frac{9x}{550}$. In this time, both A and C have walked a distance $\frac{9x}{110}$.
- B and C go all the way to D which is a distance $60-x-\frac{9x}{110}=60-\frac{2x}{11}$. This takes time $$t_3=\frac{1}{50}[60-\frac{2x}{11}]=\frac 65-\frac{2x}{550}.$$
- B returns to pick up A who meanwhile in time $t_3$ has walked a distance $5t_{3}=6-\frac{2x}{110}$. Therefore, when B sets off from D to pick up A, they are separated by a distance $$60-x-\frac{9x}{550}-6+\frac{2x}{550}=54-\frac{557x}{550}.$$
They are approaching each other at speed $55$ so they meet in time $$t_4=\frac{1}{55}[54-\frac{557x}{550}].$$
- While B was coming back to pick up A, A had walked an extra distance $5t_4=\frac{1}{11}[54-\frac{557x}{550}]$, so the remaining distance between A and B is $$54-\frac{557x}{550}-\frac{1}{11}[54-\frac{557x}{550}]=\frac{540}{11}-\frac{557x}{605}.$$ They drive this remaining distance in time $$t_5=\frac{1}{50}[\frac{540}{11}-\frac{557x}{605}].$$
Putting all this together, we get a total time of $$\frac{174}{55}-\frac{62x}{15125}$$
This is less than $3$ provided $$x>39\frac{57}{62}$$
So the optimal time is when $x=60$, that is, B drives CA all the way to D and comes back to pick up C. The journey time is 2 hours 55 minutes 3.67 sec