Firm (pronounced /fɜːrm/ in US, /fɜːm/ in UK) rhymes with words ending in the /ɜːrm/ or /ɜːm/ sound.
Tirm is not a standard English word. It may be a typo for term, trim, or a dialect form.
This family mixes concrete nouns (worm, germ, term, perm), verbs (affirm, confirm, squirm, worm), and adjectives (firm, infirm), allowing for grammatical variety in rhyming lines.