Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:6/8
K:G
['gfg (e/f/g)e dBG AGE DEG AGA', '(A/B/c)A BGG']  
X:1
L:1/8
M:6/8
K:G
 d | gfg (e/f/g)e | dBG AGE | DEG AGA | BGB AGE | gfg (e/f/g)e | dBG AGE | DEG AGA | BGG G2 :: d | 
 edd gdd | edd gdB | def{a} gfg | edB AGE |1 gfg (e/f/g)e | dBG AGE | DGG (A/B/c)A | BGG G2 :|2 
 gfg aga | bge edB | GFG (A/B/c)A | BGG G2 |]  