Three rectangles are cut along their diagonals and the triangles so got are rearranged to form a regular pentagon as shown below:
Find the dimensions of the rectangles.