He did it carefully. Use noun form of carefully
The noun form of carfully is care.
Therefore, the given sentence becomes, he did it with care.