Hi folks. I need help calculating compound proft and total sales. Say i am buying a product and selling it, how much total profit would i have after 26 weeks

Capital =$5000

Buying price =$25/unit

selling price =$37/unit

Profit per unit =$12

Opening stock = 200 units

So initially i buy 200 units (5000 /25) which is capital/unit price.

Assuming i but and sell stock every 7 days/1 week and reinvest the profit per unit to create more capital, how muchcapitalandprofitwould i have created after 26 weeks trading

Along with your answer please include the formula so i can familiarise myself with it

Thank you very much in advance