Select the option that expresses the given sentence in indirect speech.
The police officer said to him, "Why were you out till late last night?"
1
The police officer asked him that why he were out till late the previous night
2
The police officer asked him why he had been out till late the previous night.
3
The police officer asked him why had he been out till late last night.
4
The police officer asked him why was he out till late last night.