Hey there! I'm happy to help!
We see that 32 muffins is 4/5 of the total. Let's call our total t. The word is always means equals. Therefore we can create the following equation.
4/5t=32
We simply divide both sides by 4/5.
t=40
Therefore, we started with 40 muffins.
Have a wonderful day! :D