Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
['', 'D GBd g2 d ed^c d2 B', 'G def gfe dcB A2 B c2'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
 D |: GBd g2 d | ed^c d2 B | cBA BAG | AB^c d2 D | GBd g2 d | ed^c d2 B | cBA ABc |1 def g2 D :|2 
 def g2 B |: dcA B2 G | dcA B2 G | def gfe | dcB A2 B | c2 e efg | B2 d dBG | Aag fef |1 
 gba g2 B :|2 gba g2 ||  