You can put this solution on YOUR website! Depends on how you mean to apply them.
p price
p-0.2p first discounted price
(p-0.2p)-(p-0.2p)*(0.1) second discounted price
- -----Second Price
How this differs from 1.00 of the price originally,
0.28 of the price p.
This is 28% discount altogether.