It takes 10*1.5=<<10*1.5=15>>15 hours to fix his shirts

It takes 1.5*2=<<1.5*2=3>>3 hours per pair of pants

So it takes 3*12=<<3*12=36>>36 hours for the pants

That means in total it takes 15+36=<<15+36=51>>51 hours

So it cost 51*30=$<<51*30=1530>>1530 to fix everything

# Answer

1530
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
James hires a seamstress to fix all his shirts and pants.  He has 10 shirts and 12 pairs of pants.  It takes 1.5 hours to fix a shirt and twice as long for pants.  The tailor charges $30 per hour.  How much does it cost?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
1530
James hires a seamstress to fix all his shirts and pants.  He has 10 shirts and 12 pairs of pants.  It takes 1.5 hours to fix a shirt and twice as long for pants.  The tailor charges $30 per hour.  How much does it cost?
train