The price that a company charged for a basketball hoop is given by the equation 50 minus 5 x squared where x is the number of hoops that are produced, in millions. It costs the company 30 dollars to make each basketball hoop. The company recently reduced its production to 1 million hoops but maintained its profit of 15 million dollars. Approximately how many basketball hoops did the company previously produce to make the same profit?