Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:6/8
K:D
['d2 F FEF', 'dfa afd']  
X:1
L:1/8
M:6/8
K:D
|: d2 F FEF | DFA AFA | d2 F FEF | D2 f fef | d2 F FEF | DFA AFD | E3 EFA | B3 B2 c :: dfa afd | 
 cea ecA | dfa afd | g3 fga | baf agf | ede fdB | ABA AFA | B3 B3 :|  