FMM is an acronym for Forma Migratoria Multiple. This link will take you to the Instituto Nacional de Migración online FMM form. After completion, the site will send you to a bank site to pay then provide an opportunity to print.
FFM online
https://www.inm.gob.mx/fmme/publico/en/solicitud.html