An electric power plant uses solid waste for fuel in the production of electricity. The cost Y in dollars per hour to produce electricity is Y = 20 0.8X 0.25X2, where X is in megawatts. Revenue in dollars per hour from the sale of electricity is 20X − 0.5X2. Find the value of X that gives maximum profit.