Final answer:
In the first sentence, use 'had taken' and 'hadn't made' to signify that the action of taking swimming lessons and not making progress occurred before something else. In the second sentence, use 'hadn't been' to show that the action of not going to a drive-in cinema also occurred before something else. In the remaining sentences, use 'had' or 'hadn't' with the past participle of the verb to express completed actions or continuous actions in the past.
Step-by-step explanation:
1. I had taken swimming lessons from Kunal, but then I stopped since I hadn't made much progress.
2. I hadn't been to a drive-in cinema until Pranav took me.
3. Anirudh had fractured his leg, so he couldn't participate in the athletic meet.
4. She had stayed with her cousin while her house was being painted.
5. He hadn't paid any attention to what was being said.