A rectangular bin with an open top and volume of 38.72 cubic feet is to be built. The length of its base must be twice the width and the bin must be at least 3 feet high. Material for the base of the bin costs $12 per square foot and material for the sides costs $8 per square foot. If it costs $538.56 to build the bin, what are its dimensions?