Use the method of Lagrange multipliers to find dimensions of the rectangle of greatest area that can be inscribed in the ellipse (x²/9) + (y²/25) = 1 with sides parallel to the coordinate axes.