"I will live in Berlin for five years."
Translation:Ich werde für fünf Jahre in Berlin wohnen.
I've got a shaky grasp of the concept myself, but what I'd read was that the preferred order is "Time, Manner, Place." This particular example question has a Time (for five years) and a Place (in Berlin), so the Time should come before the Place. Für fünf Jahre in Berlin wohnen.