A rectangular bin is going to be made with a volume of 646 cm3. The base of the bin will be a square and the top will be open. The cost of the material for the base is 0.5 cents per square centimeter, and the cost of the material for the sides is 0.3 cents per square centimeter. Determine the dimensions of the bin that will minimize the cost of manufacturing it. What is the minimum cost?