sentence: When I was in elementary school , I took part in a speaking contest , but I failed , and I was broken - hearted .
modified: When I am in elementary school , I joined a speaking contest , but I failed , and I had broken - hearted .
transformation: VERB:TENSE, OTHER, VERB:TENSE