Benny will spend 3 * 10 = $<<3*10=30>>30 to make the pumpkin pies.

He will spend 5 * 12 = $<<5*12=60>>60 to make the cherry pies.

He wants to make a profit of $20, so he has to earn 30 + 60 + 20 = $<<30+60+20=110>>110 selling all the pies.

He is making 22 pies, so he needs to charge 110 / 22 = $<<110/22=5>>5 per pie.

# Answer

5
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Benny is baking pies for a bake sale. He plans to make ten pumpkin pies, which cost $3 each to make, and twelve cherry pies, which cost $5 each to make. If he wants to make a profit of $20 selling all the pies, how much does he have to charge for each pie if both kinds sell at the same price?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5
Benny is baking pies for a bake sale. He plans to make ten pumpkin pies, which cost $3 each to make, and twelve cherry pies, which cost $5 each to make. If he wants to make a profit of $20 selling all the pies, how much does he have to charge for each pie if both kinds sell at the same price?
train