This diagram has been extracted from https://7esl.com/question-words/ , find further information on interrogative sentences following the
… para preguntar y hablar sobre la duración de algo, cuánto se tarda en hacer algo
It takes me 10 minutes to get home from school
or Getting home from school takes me 10 minutes (Recuerda que para que el sujeto de una oración sea una acción, es decir, un verbo, ese verbo ha de estar en gerundio)
It took Adam 5 days to study for the exam
or Studying for the exam took Adam 5 days
It will take me at least 3 hours to prepare the house for the party
or Preparing the house for the party will take me at least 3 hours
How long does it take you to get home from school?
How long did it take Adam to study for the exam?
How long do you think it will take you to prepare the house for the party?