Answer: b)
Step-by-step explanation:
- In English, we use the past perfect continuous tense in this sentence
- It is also called the past perfect progressive tense
- We use it when an action started at some time in the past and then continued until a specific time in the past.
- In your question, the speaker is talking about driving (that began in the past) and they continued until they decided to stop and rest (which is a specific time in the past).
Hope this helps!