Maurice is getting $2 for every finished task. And for every 10 tasks finished, he receives a $6 bonus. How much money would Maurice make for finishing 30 tasks?
Starting with the bonus, Maurice would receive it 30 / 10 = <T>divide(30, 10)=3.0 times.
This means the bonus money, would make up to 3 * 6 = $<T>multiply(3, 6)=18
Maurice would do 30 tasks, so for all of them, he would receive 30 * 2 = $<T>multiply(30, 2)=60
So in total Maurice would make 60 + 18 = $<T>add(60, 18)=78 for finishing 30 tasks.
