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.



Divide both sides by 5.


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.