Change the sentence into direct speech.
I said that I wasn't able to do it.
I said, "I'm not able to do it."
I said, "I wasn't able to do it."
I say, "I'm not able to do it."
I say, "I wasn't able to do it."
I say, "I hadn't been able to do it."