Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
Q:1/2=60
M:2/2
K:D
['d A d2 A Bdeg fedB', 'f>efg aeeg']  
X:1
L:1/8
Q:1/2=60
M:2/2
K:D
|: d | A d2 A Bdeg | fedB A2 A :: g | f>efg aeeg | f>efg a2 eg | f>efg aeeg | f>edB A2 A2 :|  