Let x = the cost of a pack of trading cards in dollars.
Because Andrea bought 10 packs, the cost is $10x.
She received a 20% discount, so the cost decreased to
0.8*$10x = $8x
The shipping cost is $3.99.
Answer:
y = 8x + 3.99
where
x = cost of a pack of trading cards in dollars
y = total cost wih 20% discount, including shipping