In order to calculate your net position, you will simply need to sum all your winnings and losses. After comparing them, you will need to look, which value is higher than other one. If you will have more losses than winnings, cashback will be accrued maximally, while if winning value will be higher, then be ready to face a minimum cashback, for example