Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
['D GBd g2 d ed^c d2 B', 'B2 G'  
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 | ded fef | edc d2 :: B | 
 dBA B2 G | dcA B2 G | def gfe | dcB A2 B | c2 e efg | B2 d dBG | Aag fef | gba g2 :|  