Complete the sentences with the correct forms of the verbs in the brackets. Use the past perfect continuous.
1. Laura needed a break because she (study) all morning.
2. You got sick because you (eat) all the time.
3. When I noticed my mistake, I (drive) for an hour in the wrong direction.
4. She (learn) Spanish at school.