When they meet, the total distance between them is twice that from A to B.
The time is 3 hours
So 3x+3(x-2)=2×25.5.
3x+3x-6=5 1
6x=57
x=9.5
x-2=7.5
A: A is 9.5 kilometers per hour and B is 7.5 kilometers per hour.