The required length is 10 ft, and the required width is 20/π ft.
If you analyze the appearance of the table, it will look like this: (top only)
http://welcome.com.au/shop/images/d%20end%20table.JPG
Hence, the width of the rectangle is not included in calculating the perimeter. The most effective method to solve this problem is to use a system of equations to represent the given information.
First equation:
2L + πW = 40
With the πW, remember that the perimeter of a circle is its circumference. (C = πD). However, we have a semicircle, and the formula for its circumference is (C = 1/2(πD)). Then again, since we have two semi-circles, and their circumferences are included in the perimeter, it's as if we have a circle, nevertheless. Their diameter is the width of the rectangle, so we have (1/2)πW + (1/2)πW = πW.
Second equation:
LW = πW² / 2
The problem states that the area of the rectangle is twice the area of the two semi-circles, or the circle. Remember that our diameter is the width of the rectangle, and since we need the radius to find the area, we need half of the width. Hence, we have 2π(W/2)² = πW² / 2.
Eliminate one of the variables to solve for the other.
2L + πW = 40
LW - πW² / 2 = 0
2L + πW = 40
2LW - πW² = 0
W(2L + πW = 40)
2LW - πW² = 0
2LW + πW² = 40W
2LW - πW² = 0
4LW = 40W
L = 10 ft
Finding the width:
2L + πW = 40
2(10) + πW = 40
πW = 40 - 20
πW = 20
W = 20/π ft
Dimensions: l = 10 ft; w = 20/π ft
Hope this helps!