It's hard to read the number, but if the amount he spent was $36.50, then he bought:
$36.50/$3.65 = 10
He bought 10 packs.
This is a dimensional analysis question:
6.4m questions
8.4m answers