Andrew paid $40 for a pizza. He forgot that he had a coupon for 10% off the pizza. What would the sale price have been if he used his coupon?