Bill and Fred sent their 30 shirts to the laundry. Fred called for his laundry and explained to the laundryman that since his package contained only half the nylon and one-third the cotton shirts it should cost only $3.24. As 4 nylons cost as much as 5 cottons, Hop Along, the laundryman, lacking the traditional acumen of the oriental, wants to know what to charge Bill for the other package.
I solved this by "common sense", and my answer is differing from the answer that my book gives for the problem, so maybe there is a more correct and formal way of deducing the answer? O how is it that I am wrong?
Take the total number of shirts, which is 30. I have to find a way of spliting 30 as a sum of 2 numbers $s,t$ such that $s$ is divisible by $2$ and $t$ is divisible by $3$. There are few combinations that agree with this requirement: 6 cotton shirts and 24 nylon shirts; 18 cotton shirts and 12 nylon shirts, 12 cotton shirts and 18 nylon shirts, 24 cotton shirts and 6 nylon shirts.
The problem hints: " half the nylon and one-third the cotton shirts should cost ONLY $3.24." So I picked the option 6 cotton shirts and 24 nylon shirts. Because, the less are the numbers of shirts Fred gave, the less the is the price. And because As 4 nylons cost as much as 5 cottons, this also fits with the choice.
Then, $\frac{24}{2} + \frac{6}{3} = 12 + 2.$ Meaning, one-third the cotton shirts is 2. And a half of the nylon shirts is 12.
$12N + 2C = 3(4N) + 2C = 15C + 2C = \$3.24 $ $C = \frac{3.24}{17} = \$0.1905,$ which is the price for 1 cotton shirt. Then, $(0.1905)(5) = 0.952$ is the price for 4 nylon shirts.
So finally, Bill sent 12 nylons, and 4 cotton shirts to laundry. $(0.952)(3) + (0.1905)(4) = 2.85 + 0.76 = \$3.61 $
$\$3.61 $ is what Bill gets to pay.
The correct answer should be "Bill's package, containing 12 cotton and 6 nylon shirts, costs \$4.68; cotton shirts cost 24 cents each for loundering, nylons costs 30 cents each."
You should state that $s$ is the total number of nylon shirts in the two packages and $t$ is the total number of cotton shirts. You have the right possibilities, but it would be better to keep them in order. They give
We ignore the cases where all the shirts are cotton and where all the shirts are nylon because the problem speaks of both.
In the first case Fred pays for $17$ cottons, in the second Fred pays for $15.25$, in the third Fred pays for $13.5$ and in the fourth Fred pays for $8.75$
Only the third leads to an integral number of cents to clean a cotton shirt, which is $24$. This is the one we select, and a nylon shirt costs $30$. Fred's bill is $30\cdot 6+24\cdot 6=324$ and Bill's bill is $30\cdot 6+24\cdot 12=468$ so Bill should be charged $\$4.68$