The Solution.
Let the number of ads be = x
Number of Letters = x+3
Number of bills = x
Number of magazines = x+3+5 = x+8
Given that the total number of mail is 31, we have

Collecting the like terms, we get

So, the number of bills they received is 5.
Hence, the correct answer is 5 bills.