A shop is selling a batch of goods and its selling price is set at an expected profit rate of 40%. After selling
80% of them, the shop sells the remaining goods at a discount. After selling the remaining goods at an x%
discount rate, the actual profit rate of the shop is 33%. Find the value of x.