see هي الاجابة الصحيحة ولكن لنتعلم لماذا :
أولا : after + past perfect (had + pp ) ----- + past simple
هذا ان كان يوجد بالجملة فاعل
After Ali had eaten, he went out
========================
ثانيا : After + V+ing -------- + past simple
هذا في حالة عدم وجود فاعل بالجملة
After eating, he went out
========================
ثالثا : after , before , as soon as , when + present simple --------- + will + inf
after , before , as soon as , when + present simple --- + going to + inf
after they see the film, they are going to visit some friends
========================
هذه أهم حالات إستخدام After
والله ولي التوفيق
أخوكم