John and Mary are planning a road trip. John drives the first part of the trip, which is 3/5 of the total distance. Mary drives the remaining 120 miles. If the total distance of the trip is twice the distance driven by Mary, how far is the entire trip? Let's think step by step and output the final answer within \boxed{}.
user