the first is a teacher yeah
for the second word do you mean 'Mouallif"? if you mean this it means Author.
but as Muallaf , you maybe means something is written (passive) but i dont think you mean this, also this word can means 'consist of', ex: 'haza al kittab Muallaf min 7 chapters' (this...