Present simple (I do) and present continuous (I am doing) (1)

'How long did he live there?' Present perfect and past simple (2) and (3) ? Units 4, 5 Past continuous and past simple? UNIT 6. EXERCISES. 3.1 agree.