The number of peaches planted is three times the number of apricots which is 3*58 = <<3*58=174>>174

In total, the family planted 174+58 = <<174+58=232>>232 trees

# Answer

232
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
In spring, a family planted trees to capture the sun. They planted 3 times as many peaches as apricots. If 58 apricot trees were planted, how many trees were planted in total?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
232
In spring, a family planted trees to capture the sun. They planted 3 times as many peaches as apricots. If 58 apricot trees were planted, how many trees were planted in total?
train