it took him/her
Il lui a fallu partager une chambre avec sa sœur.
She had to share a room with her sister.
Même s'il lui a fallu un jour, ce qui vous a pris six mois.
Even though it took him a day, it took you six months.
— Ne Zha (2019)
Il lui a fallu partager une chambre avec son frère.
He had to share a room with his brother.
Il lui a fallu beaucoup de temps pour choisir un chapeau.
It took him a long time to choose a hat.
Il lui a fallu deux heures pour se préparer.
It took him two hours to get ready.