Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:6/8
K:G
['G2 B, G,A,B, G,B,D G2 E', 'D EF GAG GFG ABA AGA BGB', 'dce dce dAF G2 E'  
X:1
L:1/8
M:6/8
K:G
 EF | G2 B, G,A,B, | G,B,D G2 E | EB,E G2 A | BGE EBA | G2 B, G,A,B, | G,B,D G2 E | DA,D F2 d | 
 AFD D :| EF | GAG GFG | ABA AGA | BGB GBc | def g2 e | ded dcB | cdc cAG | FGA BAG | FGE D :| 
[K:D] Bc | dce dce | dAF G2 E | EB,E G2 A | BGE EBc | dce dce | dAF G2 E | DA,D F2 d | AFD D :|  