The perimeter of the parallelogram ABCD is 24 cm with its two adjacent sides in the ratio 2:1. Find the length of these two adjacent side.