Do I need different code for numbering equations and figures?

Ah, I see. Thanks for pointing this out!