If a rectangular prism and a cylinder have the same height and volume, what is their cross sectional area parallel to the bases if the base of the rectangular prism has a length of 5 inches and a width of 2 inches?