ANSWER
5 pairs
EXPLANATION
We have that:
- one pair of pants cost $24.95
- one t-shirt costs $22.50
- one pair of socks cost $5.95
You want to buy one pair of pants, one t-shirt and several pairs of socks and you don't want to spend more than $80.
This means that everything you spend must be less than or equal to $80.
Let the number of pairs of socks you can buy be x.
This therefore means that:
[tex]\begin{gathered} 24.95+22.50+(5.95\cdot x)\text{ }\leq80 \\ \Rightarrow\text{ }24.95\text{ + 22.50 + 5.95x }\leq80 \\ \text{Find x:} \\ 47.45\text{ + 5.95x }\leq80 \\ \Rightarrow\text{ 5.95x }\leq80\text{ - 47.45} \\ 5.95x\text{ }\leq32.55 \\ x\text{ }\leq\frac{32.55}{5.95} \\ x\leq5.47 \end{gathered}[/tex]Because we know that the number of pairs of socks must be a whole number, we have to approximiate to whole number, which will be:
x = 5
Therefore, you can buy at most 5 pairs of socks.