Answer:
The answer is finally.
Step-by-step explanation: Both would be a compare and contrast text structure and so would similarly. Since would be a cause and effect text structure so the answer has to be finally. You can also tell because it is using key clues like then, after, and finally.