Present perfect is formed with - have/has +past participle.
Dirty is a regular verb so the past participle is dirtied.
He has dirtied the carpet. The dog has dirtied the carpet. - singular subjects
They have dirtied the carpet. The cats have dirtied the carpet. - plural subjects