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.

Щоб побудувати питальні речення, необхідно дотримуватися наступного порядку слів:
General question
Did \(+\) subject \(+\) have to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence?

Special question
Question word (when, how, what...) \(+\) did \(+\) subject \(+\) have to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence?
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/