A model train set uses a scale ratio of 1:87 to represent real-life trains. If the actual length of a train is 522 feet, what is the length of the model train to the nearest whole number? Additionally, if the model train is 6 feet long, what is the actual length of the real train to the nearest whole number? Let's think step by step and output the final answer within \boxed{}.
user