Given:
Total amount = $115
Amount spent = $90
Cost of each pair of socks = $5
To find:
The inequality to represent the greatest number of pairs of socks he can buy.
Solution:
Let x be the number of pairs of socks he can buy.
Cost of 1 pair of socks = $5
Cost of x pair of socks = $5x
Sum of amount spent and cost of x pair of socks must be less than or equal to the total amount he has.
![90+5x\leq 115](https://img.qammunity.org/2021/formulas/mathematics/high-school/nzr9akdmg6101m83xmm9zqepsywvwvfzei.png)
![5x\leq 115-90](https://img.qammunity.org/2021/formulas/mathematics/high-school/hoswu3g5eywof5iyyxjg5hlw2ezibj326g.png)
![5x\leq 25](https://img.qammunity.org/2021/formulas/mathematics/high-school/i6xi8lqsh1t387byfntmz05i7jll9z7n00.png)
Divide both sides by 5.
![x\leq (25)/(5)](https://img.qammunity.org/2021/formulas/mathematics/high-school/jfcd4441talqcdcmiv0j70hikovbwt5e9f.png)
![x\leq 5](https://img.qammunity.org/2021/formulas/mathematics/middle-school/3etjjffzbaa4z672uj7eygbrzapy9g01nr.png)
The maximum value of x is 5. So, the maximum number of pair of socks is 5.
Therefore, the inequality of the given situation is
and
represent the greatest number of pairs of socks he can buy.