The original price of a set of furniture was $350. During a 2-day sale, it
was sold at a discount of 20% and a profit of $40 was made. What
was the cost of the set of furniture?