设AB相距 x km.
(0.5x-3)/12=(0.5x+3)/101
101(0.5x-3)=12(0.5x+3)
50.5x-303=6x+36
44.5x=339
x=7.62
所以,AB相距 7.62 km