I needed your helpLiterally, “your help was needed.” The person who needed the help is expressed in the dative: мне means “I,” нам means “we,” and Тому means “Tom.” The form нужна agrees with the feminine noun помощь; была marks the past tense.
RU: Когда я переезжал, мне нужна была твоя помощь.