How do you find the dimensions of a rectangle with area 1000 m whose perimeter is as small as possible?