Step-by-step explanation
To determine how much Gretchen paid, we will have to list out the number of Video purchases made for drama, action, and comedy videos.
Let the Action videos be represented by A
Let the Comedy videos be represented by C
Let the Drama videos be represented by D
Also,
A has 3 purchases
C has 5 purchases
D has 2 purchases
Therefore, we will have the expression
If she paid $4 for each, then
The total videos purchased = 3+5+2=10
Thus, the total amount paid will be
Thus, Gretchen paid $40