Discount applies to Marked Price, while Profit adds to Cost Price: MP / CP = (100 + Profit %) / (100 - Discount %).
With 10% discount and 20% profit, MP/CP = 120/90 = 4/3!