Let s be the measure of the measure of the sides of the square such that its area is s². From the conditions above, the length of the rectangle is s + 5 and its width is 0.5s. The area of the rectangle is (s+5)(0.5s)
s² = (s + 5)(0.5s)
The value of s is 5. Thus the dimension of the rectangle in w x h is 2.5 x 10.