Nouns (zelfstandig naamwoorden) with two syllables (lettergrepen) usually have the stress on the first syllable in English. This is true in about 90% of cases.
For verbs (werkwoorden) it is more common for the stress to be on the second syllable. This is true in about 60% of cases (so there are plenty of exceptions!).
If we write a first syllable stress as Oo and a second syllable stress as oO, then which of these two stress patterns is used for melon and which for prefer?