Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:G
['BGdB eBdB', 'efgf g4 bggg']  
X:1
L:1/8
M:4/4
K:G
 DEFD (G2 G)A | BGdB eBdB | DEFE F3 z | ABdB eBdB | DEFD (G3 G) | BGdB eBdB | efge dedB | 
 cAFA G3 z || efgf g4 | bggg agfe | defe f2 f | afdf afdf | efgf g4 | bggg afef | gage dedB | 
 cAFA G4 :|  