Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:6/8
K:G
['DGB d2 B e2 B', 'G DEF GAB c3- c2 d e2'  
X:1
L:1/8
M:6/8
K:G
|: DGB d2 B | e2 B dBG | DGB d2 B | e2 B cAF | DFA c2 A | d2 A cAF | DFA cBA |1 G3 d3 :|2 
 G3 g2 d |: g2 B d2 G | B3- B2 G | DEF GAB | c3- c2 d | e2 A c2 G | F3- F2 d | fed cBA |1 
 B3- B2 :|2 G6 ||  