Both A and B walk from the library to the classroom at the same time. A walks half the distance and runs half the distance; B walks half the time and runs half the time. If the two walks, they run at a same speed.
So?
B arrives at the classroom first