A farmer is planting three types of crops: corn, wheat, and soybeans. He plants twice as many acres of corn as he does wheat, and three times as many acres of soybeans as he does wheat. If the total acreage planted is 240 acres, how many acres of each type of crop did the farmer plant? Let's think step by step and output the final answer within \boxed{}.
user