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
['fed fga', 'A afa geg fdf ecA']  
X:1
L:1/8
M:6/8
K:D
 A | fed fga | fed fga | bc'd' afd | fee e2 A | fed fga | fed fga | bc'd' afd | edd d2 :: A | 
 afa geg | fdf ecA | afa baf | fee e2 A | afa geg | fdf ecA | dcd eag | fdd d2 :|  