Match:
Dan hasn’t gone to school last week because he was ill.
Dan didn’t go to school last week because he was ill.
Incorrect
Correct