Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
['D>GG>B d>Bd>e (D>G)(G>B) (BA)(Ad) B>GAB d>Bde G<GB>A{A}', 'G2 g>de>d g>de>d'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
 D>GG>B d>Bd>e | (D>G)(G>B) (BA)(Ad) | B>GAB d>Bde | G<GB>A{A} G2 G2 :| g>de>d g>de>d | 
 e<gd>B BA A2 | g>de>d g>de<g | G<GB>A{A} G2 G2 | g>de>d g>de>d | d<BB>b A2 A>B | d>eg>d e>de<g | 
 G<GTB>A{A} G2 G2 |]  