The past tense of take pains with is took pains with.
The third-person singular simple present indicative form of take pains with is takes pains with.
The present participle of take pains with is taking pains with.
The past participle of take pains with is taken pains with.