A tank with a rectangular base and rectangular sides is to be open at the top. It is to be constructed so that its width is 4m and its volume is 36 cubic meters. If building the tank costs $10 per square meter for the base and $5 per square meter for the sides, what is the cost of the least expensive tank?