Answer:
[tex] 2x \le 24 [/tex]
Step-by-step explanation:
Let x = number of pairs of shorts.
1 pair of shorts costs $2 * 1.
2 pairs of shorts cost $2 * 2.
x pairs of shorts cost $2 * x or simply 2x.
The cost of the shorts must be at most $24, so 2x must be equal to or less than 24.
[tex] 2x \le 24 [/tex]