where … was going
Tom no tenía ni idea de adónde iba Mary.
Tom had no idea where Mary was going.
David había acertado al adivinar adónde iba todo aquello.
David had been right to guess where all this was heading.
She asked me where I was going.
I asked him where he was going.
Tom no miró adónde iba.
Tom didn't look where he was going.