To make one cloak, James needs 3 yards of velvet.
To make 6 cloaks, James will need 6 * 3 = <<6*3=18>>18 yards of velvet.
To make one hat, James needs 1/4 yard of velvet.
To make 12 hats, James will need 12 * 1/4 = <<12*1/4=3>>3 yards of velvet.
In total, James will need 18 + 3 = <<18+3=21>>21 yards of velvet.
#### 21
The answer is: 21
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
If James can make 4 hats out of one yard of velvet and he needs three yards of velvet to make a cloak, how much velvet does he need to make 6 cloaks and 12 hats in total?

### Answer:
