Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:G
['(G>F) EFGA']  
X:1
L:1/8
M:4/4
K:G
 (G>F) | EFGA Bgfg | e6 (Bc) | d2 dd e2 (dc) | B6 (G>F) | EFGA BBA>G | F6 (G>d) | 
 (BG)(FE) (DE)(FG) | E6 |]  