Scopely Interview Question

math balancing stuff, excel formulas