Ответ:Aliya finishing her homework came first. The past perfect shows the action that happened before another past action.