A builder wishes to construct a warehouse with a square front and a volume of 500 cubic meters. Find a formula in terms of x for the total construction cost C(x) of the warehouse.