Select the most appropriate indirect speech of the given sentence:
The teacher said to Rashmi, “Why don’t you pay attention in the class?”
1
The teacher asked Rashmi that why didn’t she pay attention in the class.
2
The teacher asked Rashmi why didn’t she pay attention in the class.
3
The teacher asked Rashmi why she didn’t pay attention in the class.
4
The teacher asks Rashmi why she doesn’t pay attention in the class.