Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:2/2
K:G
['edBA GBDE G2 BG DGBd eBdB (3ABA']  
X:1
L:1/8
M:2/2
K:G
|: edBA GBDE | G2 BG DGBd | eBdB (3ABA GA |1 Beed efgf :|  