Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:G
['DGGB dBGB A=FFE FGAF', 'A (3Bcd gd (3Bcd ga bgfa g3'  
X:1
L:1/8
M:4/4
K:G
 DGGB dBGB | A=FFE FGAF | DGGB dBGE | =FGAF DGG^F | DGGB dBGB | A=FFE FGAF | GABc dgbg |1 
 fdcA BGGF :|2 fdcA BGGA |: (3Bcd gd (3Bcd gd | BGBd c3 A | (3Bcd gd (3Bcd ga | bgfa g3 a | 
 bgaf gfdc | (3Bcd =fd cA=FD | GABc dBcA |1 BdcA BGGA :|2 BdcA BGGF ||  