These are the ER and IR verb endings in the PRETERITE past tense.
Both kind of verbs have the same endings in this tense.
Look at the verbs comer and vivir:
Copy and paste these letters if needed. The answers will be counted wrong if you don’t include the accents: