答案是
1.Jim played computer games after he finished his homework.
2.He didn't go to bed until his mother came back from work.