it took me several hours
It took me several hours to read it.
It took me several hours to wash it.
It took me several hours to open it.
Me tomó varias horas repararlo.
It took me several hours to repair it.
Me tomó varias horas pintar esa habitación.
It took me several hours to paint that room.
Terminarlo me tomó varias horas.
It took me several hours to finish it.