This is the 352nd most frequent Hungarian word.
melynek
"Whose" or "of which."
'Melynek' functions as a relative pronoun indicating possession, connecting 'könyv' (book) with 'borítója' (its cover).
Ez az a könyv, melynek a borítója kék.
This is the book whose cover is blue.
'Melynek' again acts as a relative pronoun, specifying the leaves of the tree being described.
Az a fa, melynek levelei vörösek, nagyon szép.
The tree whose leaves are red is very beautiful.
'Melynek' is used here as a relative pronoun expressing an instrumental relationship ('with whose help').