Теория:

Study some information about negative sentences and questions with 'had to'.
 
Для построения отрицательного предложения в прошедшем времени с модальным глаголом 'had to' необходимо использовать следующую структуру предложения:
subject \(+\) did not (didn't) have to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence.
I did not (didn't) have to work late yesterday.
  
work.jpg
  
Для построения вопросительных предложений необходимо знать следующий порядок слов.
  
General question
Did \(+\) subject \(+\) have to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence?
Did Sally have to get up early last time?
  
get up.jpg
  
Special question
Question word (when, how, what...) \(+\) did \(+\) subject \(+\) have to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence?
What did she have to find yesterday?
  
When did Mike have to buy a new car?
Источники:
http://uk.businessinsider.com/things-not-to-keep-on-work-computer-2017-4
https://healthtoday.com/the-best-productivity-hack-wake-up-early/