Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:6/8
K:G
['G2 G DEG', 'd c2 c BAG'  
X:1
L:1/8
M:6/8
K:G
 G2 G DEG | DEG E2 D | G2 G DEG | A3 AGF | G2 G DEG | DEG E2 D | B3 BAG |1 A3 A3 :|2 A3 ABd || 
 e2 e edB | deg e2 d | c2 c BAG | A6 | e2 e edB | deg e2 d | c2 c BAG | A6 :|  