Answer: He bought 5 sandwiches.
Step-by-step explanation:
We know that he purchased sandwiches (let's suppose that he bought X ) and one gallon of milk.
The cost of each sandwich is $8, then the cost of the X sandwiches will be X times $8, or: X*$8.
The cost of the gallon of milk is $4.
The total cost will be:
$4 + X*$8.
And we know that the total cost was $44, then we have the equation:
$4 + X*$8 = $44
We can solve this for X
X*$8 = $44 - $4
X*$8 = $40
X = $40/$8 = 5
This means that he bought 5 sandwiches