Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:G
['d2 dB B2 AG', '(3efg fgfd gd (3fga b2 gb ag']  
X:1
L:1/8
M:4/4
K:G
|: ge | d2 dB B2 AG | A2 A2 AD/E/ GA | B<d d2 dG (3Bcd | e2 e2 eg ga | d2 dB B2 AG | 
 B<A A2 AD/E/ BA | G2 G2 GD (3DEG |1 G4 G2 :|2 G4 G2 D || (3Bcd | e2 e2 ed (3efg | fgfd gd (3fga | 
 b2 gb ag (3fed | e4 eG (3Bcd | e2 e2 eg ed | B2 BG GD (3DEG | B2 Bd dG (3GAB | A4 D2 (3Bcd | 
 e2 e2 ed (3efg | fgfd gd (3fga | b2 gb ag (3fed | e4 ef ge | d2 dB B2 AG | B<A A2 AD/E/ BA | 
 G2 G2 GD (3DEG |1 G4 G2 :|2 G4 G2 ||  