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 d2']  
X:1
L:1/8
M:6/8
K:D
 D | D>FAd>cB | B>AA F2 F | F>EFA>EE | G>FF D2 D | F>Adf>ed | e>dc d2 f | d2 f d2 A | d4 z |]  