1 answer
(click or scroll down)
assuming you want integer ratios,
the medium rectangle must be 3 times as large, or 24x9
Similarly, since 3 does not divide 32, and 8 does, the large one is 32x12