A rectangle is inscribed in a circle, such that each vertex of the rectangle lies on the circumference of the circle. The angle formed by a diagonal of the rectangle and its shorter side is . The area of the rectangle is square units. What is the length, in units, of the diameter of the circle?