James can make 4 hats out of one yard of velvet. He needs three yards of velvet to make a cloak. How much velvet does he need to make 6 cloaks and 12 hats?
First find the total amount of velvet James uses on the hats: 12 hats / 4 hats/yard = <<12/4=3>>3 yards
Then find the total amount of velvet he needs to make the cloaks: 6 cloaks * 3 yards/cloak = <<6*3=18>>18 yards
Then add those two amounts to find the total amount of velvet he needs: 3 yards + 18 yards = <<3+18=21>>21 yards
#### 21
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
You are solving math problems. Here are some examples of how to solve the task:

James buys 20 pounds of beef and half that much pork.  He uses 1.5 pounds of meat to make meals at his restaurant.  Each meal sells for $20.  How much money did he make?He bought 20/2=<<20/2=10>>10 pounds of pork
So he has 20+10=<<20+10=30>>30 pounds of meat
That means he can make 30/1.5=<<30/1.5=20>>20 meals
So he makes 20*20=$<<20*20=400>>400
#### 400[END]

In the class of 24 students, half are doing silent reading, and a third are playing board games. The rest are catching up on homework. How many students are catching up on homework?24/2=<<24/2=12>>12 students are doing silent reading.
24/3=<<24/3=8>>8 students are playing board games.
So 12+8=<<12+8=20>>20 students are accounted for.
Then 24-20=<<24-20=4>>4 students are catching up on homework.
#### 4[END]

Now, solve this next question in the style of the above examples:

James can make 4 hats out of one yard of velvet. He needs three yards of velvet to make a cloak. How much velvet does he need to make 6 cloaks and 12 hats?

### Response:
First find the total amount of velvet James uses on the hats: 12 hats / 4 hats/yard = <<12/4=3>>3 yards
Then find the total amount of velvet he needs to make the cloaks: 6 cloaks * 3 yards/cloak = <<6*3=18>>18 yards
Then add those two amounts to find the total amount of velvet he needs: 3 yards + 18 yards = <<3+18=21>>21 yards
#### 21