A: The distance between A and B is105m.
When we first met, Party A and Party B walked the whole distance, and Party A walked 40 meters.
At the second meeting, Party A and Party B made three full trips. The first trip was 40×3= 120 (m).