PQNM and ZYXW are two rectangular doors used for the main door and a cupboard. Find the ratio of their sides.