O médico impediu [a ama d[as crianças] ] de __ irem para a cama cedo .
the doctor prevented the nanny of.the children PREP  go.INF.3PL to the bed early
The doctor prevented the children’s nanny from going to bed early with him.