Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:4/4
K:D
['ADFD EB,B,B ADFD d2 df gfed eBBd', 'dg f/g/a']  
X:1
L:1/8
M:4/4
K:D
 ADFD EB,B,B | ADFD d2 df | gfed eBBd | FD F/G/A (d2 d) :| f | dg f/g/a beef | dg f/g/a fdec | 
 dBAF E>F GB | FD F/G/A (d2 d)f | dg (f/g/a) b(ee)f | dg f/g/a fdec | dcBF E>F G>B | 
 AF A/B/c d2 d ||  