The top and bottom margins of a poster are each 6 cm and the side margins are each 4 cm. If the area of the printed material on the poster is fixed at 384 $cm^2$, find the dimensions of the poster with the smallest area.

width = cm

height = cm