Jingjing wasted a round trip in the morning (going back to get the textbook), and the wasted time was 2+2=4 minutes. So it only takes her 13-4=9 minutes to get to school normally.
Know that you walk 60 meters a minute, and the distance =60 times 9=540 meters.
60 * (13-(2+2)) = 540m.