Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
M:2/2
K:G
['B GBdB egdB GBdB (A2 A)B GBdB', 'GBAc Bdeg'  
X:1
L:1/8
M:2/2
K:G
 B | GBdB egdB | GBdB (A2 A)B | GBdB egdc | BGAF (G2 G)B | GBdB ecdB | cedB (A2 A)F | GFED EDCB, | 
 CA,DB, (G,2 G,) || B | GBAc Bdeg | GdBG (A2 A)B | GBAc Bdef | gedB (G2 G>)B | GBAc Bdeg | 
 cABG (E2 E>)F | GFED EDCB, | EAFD (G2 G) ||  