For this case we have the following functions:

We must find
. By definition we have to:

So:

Finally, the composite function is:

Answer:

,,......................................
This problem is unit rate!
Basically, it is 12/6
So each donut is $2 !
1,000,000+3000,000+30,000+4,000+400+50+7
Add, then subtract and that’s your answer!