Let speed of scooter starting from A be x km/hr and from B be (x + 10) km/hr
Relative speed $= x + x + 10 = 2x + 10$ km/hr
Distance covered in $2.5$ hr = Time × Relative speed $= 2.5 × (2x + 10) = 5x + 25$
According to question,
$5x + 25 = 300 - 25$
$x = 50$
Speed of scooters are 50 and 60 km/hr