The most you can do is by trial and error. Draw the quadrilateral on paper in scale. Make or cut some x by 2x rectangles. Play with them on the drawn quadrilateral until you find which x by 2x rectangle is the biggest to fit. Get that rectangle's dimensions by scale.