A certain quadrilateral has two pairs of parallel sides. The opposite sides are equal in length. There are also 4 right angles. What is the total length of the shorter pair of sides, if the longer pair measures 16cm each, and the figure has a perimeter of 56cm?