15 = 1*15 = 3*5
36= 1*36 = 2*18 = 3*12 = 4*9 = 6*6
Because only two whole number factor pairs make up 15, there are only two possible rectangles with whole number side lengths.
Because only five whole number factor pairs make up 36, there are only five possible rectangles with whole number side lengths.