it took me a long time to
Il m'a fallu beaucoup de temps pour le faire.
It took me a long time to do it.
Il m'a fallu beaucoup de temps pour m'en remettre.
It took me a long time to get over it.
Il m'a fallu beaucoup de temps pour me débarrasser de toutes ces fourmis.
It took me a long time to get rid of all those ants.
Il m'a fallu beaucoup de temps pour comprendre cela.
It took me a long time to understand that.
Il m'a fallu beaucoup de temps pour écrire ce livre.
It took me a long time to write this book.