Cody goes to the store and buys $40 worth of stuff.  The taxes were 5%.  After taxes, he got an $8 discount.  Cody and his friend split the final price equally. How much did Cody pay?
The taxes were 40*.05=$<T>multiply(40, 0.05)=2.0
So the price was 40+2=$<T>add(40, 2)=42
He got a discount so the price he paid was 42-8=$<T>subtract(42, 8)=34
Since he paid half his price was 34/2=$<T>divide(34, 2)=17.0
