The two pasts do their most natural work side by side, in a structure both languages share.
Cocinaba cuando sonó el teléfono.
Sort the halves before you build: I was cooking is the line, the phone rang is the point.
Hablaba por teléfono cuando llegó María · Cocinaba cuando el teléfono sonó
Word order is flexible, and putting the verb before the subject is often the more natural Spanish: cuando sonó el teléfono.
Do not look for direct translations here. English would never say "I wasn't liking it", yet no me gustaba is perfectly good Spanish.
Me pareció bien · Me parecía bien · Me parecía bien, pero cuando lo vi, no me gustó
Same inverted structure, now in the point past. Take the middle step every time: I liked it is it pleased me.
Me gusta · Me gustó · No me gustó · No me gustaba
Teléfono is Greek: tele- is far and -fono is voice. For a phone ringing, Spanish says it sounded.
Parecer is related to apparent, and aparecer is to appear. Transparent comes from the same root.
Llegué · Llegó · Llegamos · Por teléfono (on the phone, literally "by phone")
Look up to stay and you find quedarse. You still have to do something with that se.
Another entry in the growing list of things por does. On the phone is por teléfono, by phone.
Hablaba por teléfono cuando llegó María.