It takes 6 hours for car A to travel from point A to point B, and it takes 10 hours for car B to travel from point B to point A. Now two cars, A and B, start from A and B at the same time and drive towards each other. When they meet, A and B travel 90 kilometers longer than B. Find the distance between A and B.
甲车从A地到B地需行6时，乙车从B地到A地需行10时．现在甲、乙两车分别从A，B两地同时出发，相向而行，相遇时甲车比乙车多行90千米，求A，B两地的距离．
<result>360</result>