Compose a piece incorporating the provided motif while adhering to the given musical structure.
X:1
L:1/8
M:4/4
K:G
['(3DEF G3 A BGBd g3 a bgdB', 'G2 (3ABc d3 c Bc d2 ecAG'  
X:1
L:1/8
M:4/4
K:G
|: (3DEF | G3 A BGBd | g3 a bgdB | A^GAB cBce | (3agf (3gfe (3dcB (3cBA | GFGA BGBd | gfga bgdB | 
 A2 ed BGAF | G2 GF G2 :: (3ABc | d3 c Bc d2 | ecAG FA D2 | (3Bcd ef gfge | edcB (3ABc dB | 
 G3 A BGBd | g3 a bgdB | A2 ed BGAF | G2 GF G2 :|  