Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
Q:1/8=300
M:9/8
K:G
['BdB BAB', 'afd def g2'  
X:1
L:1/8
Q:1/8=300
M:9/8
K:G
 BdB BAB g3 | BdB BAB dcA | BdB BAB g3 | gfe fed ecA :| afd def g2 b | afd dfa gfe | afd def g2 a | 
 gfe fed ecA :|  