A rectangular field will have one side made of a brick wall and the other three sides made of wooden fence. Brick wall costs 10 dollars per meter and wooden fence costs 20 dollars for 4 meters. the area of the field is to be 2400m^2. What length should the brick wall be to give the lowest total cost of wall plus fence?