Correct option is D
Option (d) contains an error.
The verb "learnt" is incorrect because, after "did," we use the base form of the verb, which is "learn." The sentence should use "did not learn."
Corrected sentence: A thousand years ago, boys and girls did not learn to read.