How to Calculate Beginning Inventory