If the original price of the dress is £40, then the discount of 5% off the original price would be:
5% of £40 = 0.05 x £40 = £2
So the sale price of the dress would be:
Original price - Discount = £40 - £2 = £38
Therefore, the sale price of the dress would be £38