Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:G
['e d<BB>A G>A B>e d<Gd>B d>G B>e', 'd<de<g a>ee>f'  
X:1
L:1/8
M:4/4
K:G
 e | d<BB>A G>A B>e | d<Gd>B d>G B>e | d<BB>A G>AB>e | g>ef>d eg :| d<de<g a>ee>f | g>ed>B g>dd>e | 
 d<de<g a>ee>f | g>ef>d e e>f | d<de<g a>ee>f | g>ed>B g>dd>g | a>fg>e f>de>d | B<ee>d e>fg>e ||  