Divide total amount paid by price per package to find number of packages purchased.
$16 ÷ $4= 4 packages purchased
Then multiply number of purchased packages by number of hotdogs per pack.
4 * 8= 32 hotdogs
ANSWER:
32 hotdogs were purchased
Hope this helps! :)