Using proportions, it is found that the cost of each of the favors is of $5.
The rule of three is:
8 favors - $40
1 favor - $x
Applying cross multiplication:
[tex]8x = 40[/tex]
[tex]x = \frac{40}{8}[/tex]
[tex]x = 5[/tex]
The cost of each of the favors is of $5.
To learn more about proportions, you can take a look at https://brainly.com/question/24372153