Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['A AFG Aaf ede fdB AFA', 'd2 a afa afb bgb bga afa']  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 A | AFG Aaf | ede fdB | AFA BdF | EFE E2 A | AFG Aaf | ede fdB | AFA faf | ddd d2 :: a | afa afb | 
 bgb bga | afa agf | eee e3 | a3 f3 | ede fdB | AFA faf | ddd d2 :|  