Теория:

Study some information about negative sentences and questions with 'to be able to' in past.
 
Для построения отрицательного предложения с to be able to в прошедшем времени необходимо использовать следующий порядок слов:
subject \(+\) was/were \(+\) not \(+\) able to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence.
She was not able to cook well when he was ten.
  
cook1.jpg
 
Для построения общего и специального вопросов используйте следующий порядок слов.
  
General question
Was/Were \(+\) subject \(+\) able to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence?
Were you able to read when you were at school?
 
read.jpeg
  
Special question
Question word (when, how, what....) \(+\) was/were \(+\) subject \(+\) able to \(+\) Verb in the \(1\)st form (without 'to') \(+\) other parts of the sentence?
What were they able to do when they lived in Italy?
Источники:
https://www.gousto.co.uk/blog/quiz-what-kind-of-cook-are-you
https://www.entrepreneur.com/article/275880