A closed rectangular box is to be constructed with one side 1 meter long. The material for the top of the box cost $20 per square meter, and the material for the sides and bottom costs $10 per square meter. Find the dimensions of the box with the largest possible volume that can be built at a cost of $240 in materials. (Thanks in advance!)