Nindy : When did you get this cassette?

Lia : Yesterday. When I … home, a boy asked me to give it to you.

Answer :
was walking

two activities carried out in the past, use the past continuous tense because it happened first.

  A : John, we've got to do a lot of work this week.