Answer:
Let's define the variables:
x = number of hot dogs he buys
y = number of cheeseburgers he buys.
Each hot dog costs $2, then the price of x hotdogs is:
x*$2
Each cheeseburger costs $3, then the price of y cheeseburgers is:
y*$3
The total price is:
x*$2 + y*$3
And we want to find an equation to see how much he can buy for exactly $10, then we have:
x*$2 + y*$3 = $10
Or, if he can use $10 or less than $10, the inequality would be:
$0 ≤ x*$2 + y*$3 ≤ $10