Let V be the number of yards of velvet fabric Louis bought.

The silver thread cost 2 * 3 = $<<2*3=6>>6.

He spent 24V + 15 + 6 = $141 on the suit.

The fabric cost 24V = 141 - 15 - 6 = $120.

Thus, Louis bought V = 120 / 24 = <<120/24=5>>5 yards of fabric.

# Answer

5
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Louis is making himself a velvet suit for a formal event. The velvet fabric he chose was $24 per yard. He bought a pattern for $15, and two spools of silver thread for $3 each. If he spent $141 for the pattern, thread, and fabric, how many yards of fabric did he buy?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5
Louis is making himself a velvet suit for a formal event. The velvet fabric he chose was $24 per yard. He bought a pattern for $15, and two spools of silver thread for $3 each. If he spent $141 for the pattern, thread, and fabric, how many yards of fabric did he buy?
train