Original Price = $20
Discount = 40%
First Calculate the discount amount by multiplying the original price (20) by the percentage discount in decimal form ( divided by 100)
20 x (40/100) = 20 x 0.4 = 8
Then subtract the discount amount to the original price:
20-8 = 12
Sale price : $12