Let's assume cost price = X Rs
Since marked price is 40% above cost price.
∴MP=CP+40% of CP=X+40X100=7X5 Rs
Discount =40%
∴SP=MP−Discount
⇒SP=7X5−40% of 7X5
⇒SP=7X5−40100×7X5
⇒SP=7X5−14X25=21X25
Here SP < CP, so there will be a loss.
∴Loss=CP−SP=X−21X25=4X25 Rs
⇒Loss percentage=loss×100CP=4X25×100X=16%