Josh gets together with 7 friends.  Everyone including him puts 5 dollars into a pot.  First place gets 80% of the money.  Second and third place split the rest.  How much money does third place get?
7+1=<T>add(7, 1)=8 people threw money into the pot.
So the amount of money in the pot is 8*5=$<T>multiply(8, 5)=40
First place gets 40*.8=$<T>multiply(40, 0.8)=32.0
So there is 40-32=$<T>subtract(40, 32)=8 left in the pot after first place gets his cut
So third place gets 8/2=$<T>divide(8, 2)=4.0
