Peter wants to have 3 * 3 = <<3*3=9>>9 German Shepherd dogs.

He wants to have 2 * 4 = <<2*4=8>>8 French Bulldogs.

So, Peter wants to have 9 + 8 = <<9+8=17>>17 dogs.

# Answer

17
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Sam has 3 German Shepherds and 4 French Bulldogs. Peter wants to buy 3 times as many German Shepherds as Sam has and 2 times as many French Bulldogs as Sam has. How many dogs does Peter want to have?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
17
Sam has 3 German Shepherds and 4 French Bulldogs. Peter wants to buy 3 times as many German Shepherds as Sam has and 2 times as many French Bulldogs as Sam has. How many dogs does Peter want to have?
train