at first , he wagged 98456mB <=> lv6 <=> 0.9 HE
he bet half (3117) and lost , till now the profit is -3117
he got lv up ( lv 7 = 100000mB+ , he got 101573 after he bet ) <=> 0.88 HE
he bet again and won
so it's gonna be (3117*(100-0.88)/49-1) = 3188.24571
=> total sesion profit : 3188.24571 + (-3117) = 71.24571
this is my most detailed solution for your questions