nagyanya (“grandmother”) + -m (“my”, first-person singular possessive suffix) + -nak (“to”, dative suffix)
nagyanyámnak