A store marks up the wholesale cost of a small appliance by 50% to set a regular selling price. During a promotional sale, the appliance is advertised at 20% off the regular selling price, and a sales tax of 10% is applied to the discounted price at checkout. If a customer pays a final total of $59.40, what was the wholesale cost of the appliance, in dollars?