before we start, bear in mind I'm not trying to argue with you, the scooter rider was an idiot to undertake a pushbike at speed as he shoukl've known better.
However, were you able to have a good road positioning, looking back more often (communication, etc.), you'll be able to reduced the likeihood of the rider from undertaking you at speed.