Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
Q:1/8=180
M:12/8
K:G
['A B2 G', 'GBd e2 f gfe'  
X:1
L:1/8
Q:1/8=180
M:12/8
K:G
 D | G2 G FED E2 F G2 A | B2 G c2 A B2 G c3 | Bcd EFG EAG FED | EFG AFD G3 G2 :| F | 
 G2 G GBd e2 f gfe | dBG GBd e2 f gfe | dBB cBA dBG FED | EFG AFD G3 G2 :|  