When you’re done, try to figure out what activities these tenses express in the sentence. While doing this, think of the time in which it happened and then decide whether it took a longer while before it ended in the past or was it a shorter action in the past.