Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:C
['', 'BGB AFA (c2{dc} A)', 'ecA gdc BGB AFA (c2{dc} A) GBd'  
X:1
L:1/8
M:4/4
K:C
 .abc ||[M:6/8][K:G]"^~" (3G3 BGB | AFA (c2{dc} A) |"^~" G3 BGB | cdA ecA |"^~" G3 BGB | 
 AFA (c2{dc} A) | GBd d2 f |{a} gdB{d} cAF :: gdc BGB | AFA (c2{dc} A) | gdc BGB | dcA ecA | 
 gdc BGB | AFA (c2{dc} A) | GBd d2 f |{a} gdB{d} cAF :|  