In a standard German sentence, the conjugated verb is always in second position:
1st element: In zehn Jahren
2nd element: werde
rest of sentence: ich zu alt sein
In questions, we use inversion, so the conjugated verb can start the sentence:
Hast du verstanden?
In a subordinate clause, the conjugated verb comes at the end (More or less — if there are two auxiliaries, there’s a little twist).
Ich hoffe das du verstanden hast.