Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
['c BGB def gdc BAG', 'dBB GBB'  
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
 c | BGB def | gdc BAG | cec Bdg | ecA A2 c | BGB def | gdc BAG | Gge faf | gdB G2 :: (B/c/) | 
 dBB GBB | dBB GBB | cAA FAA | cAA FAA | dBd ece | fdf gfe | dcB Agf | gdB G2 :|  