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
['faa agf']  
X:1
L:1/8
M:6/8
K:D
 A |"D" d>ef"G" edB |"D" ABG F2 D |"D" (FA)A AFA |"G" Bee edB |"D" def"G" edB |"D" ABG FED | 
"D" FAA AFA |"G" Bdd"D" d2 :: g |"D" faa agf |"G" gbb bag |"D" faa agf |"A" gfg e2 g |"D" faa agf | 
"G" gbb bag |"D" fed"A" eag |"D" fdd d2 :|  