Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:G
['DGBG A2 (3Bcd eaag gedB', 'ea a2 bg g2 agab g2 ag']  
X:1
L:1/8
M:4/4
K:G
 GE | DGBG A2 (3Bcd | eaag gedB | GGGB AEGE | DGBG AGEG | DGBG A2 (3Bcd | eaag gedB | GABd gedB | 
 GABG A2 :| (3Bcd | ea a2 bg g2 | agab g2 ag | edeg g2 gb | agab gedg | ea a2 bg g2 agab g2 ag | 
 edeg gedB | GABG A2 :|  