Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:G
['g2 ag{a} gfde', '(3Bcd g2 ag{a} gfde fdge fdcA dg'  
X:1
L:1/8
M:4/4
K:G
|: DG{A}GG BGGG |{d} cAFA dBBA | DG{A}GG AB{c}Bd | cAdc AGGF | DG{A}GG BG{A}GG |{d} cAFA dBAd | 
 g2 ag{a} gfde |1 fdcA{B} AG{A} GF :|2 fdcA{B} AG (3Bcd |: g2 ag{a} gfde | f2 ge fdcA | 
 dg g2 gfde | fdcA{B} AG (3Bcd | g2 ag{a} gfde | fdge fdcA | dg g2 bg{b}ag |1 fdcA{B} AG (3Bcd :|2 
 fdcA{B} AG{A} G2 ||  