僕(ぼく) bokuは waテスト tesutoで deひどい hidoi間(ま)違(ちが)い() machigaiを oした shita。 I made a terrible mistake on the test. school~で (location of action)topic-comment structuremasculine first-person pronoun (僕)間違いをする (to make a mistake)
彼(かの)女(じょ) kanojoは wa以(い)前(ぜん) izenと to同(おな)じ() onaji間(ま)違(ちが)い() machigaiを oした shita。 She made the same mistake she'd made before. mistakes~と同じ (the same as)~以前 (before, formal)間違いをする (to make a mistake)