Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
Q:1/8=50
M:4/4
K:G
['cB AGAB AGEG AGAB cBcd (3efg fa', 'ge dega g2 ed |1 B2 G2']  
X:1
L:1/8
Q:1/8=50
M:4/4
K:G
 cB | AGAB AGEG | AGAB cBcd | (3efg fa g2 ed |1 B2 G2 G2 cB :|2 c2 A2 A2 (3efg || agab ageg | 
 agab a2 ge | dega g2 ed |1 B2 G2 G2 (3efg :|2 c2 A2 A2 (3efg ||  