Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
M:4/4
K:G
['g2 fg edBA GABG AGFD GABd eaag', 'gbef gbeg']  
X:1
L:1/8
M:4/4
K:G
 g2 fg edBA | GABG AGFD | GABd eaag | fdef g2 ef :| gbef gbeg | fadf fadf | gbef gbeg | 
 afdf e2 ef | g(bb)(b b2) ag | f(aa)(a a2) gf | gbag fagf | gfed ed B/c/d ||  