he had 40 biscuits in the beginning
Explanation
to solve this we can use a rule of three
so
Step 1
let x represents the total treats he had in the beginning , so
[tex]\begin{gathered} if \\ 32\text{ biscuits}\rightarrow\frac{4}{5}of\text{ total } \\ then \\ x\text{ biscuits}\rightarrow total\text{ \lparen1\rparen} \end{gathered}[/tex]so, the proportion is
[tex]\begin{gathered} \frac{32}{\frac{4}{5}\text{ }}=\frac{x}{1} \\ \frac{160}{4}=x \\ x=40 \end{gathered}[/tex]therefore,
he had 40 biscuits in the beginning
I hope this helps you