Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['(3DEF GFGA Bdgf agfc ed^cd BGDG cAFG', 'G2 fg afdg bgfa gfge dcBd ceAc'  
X:1
L:1/8
M:4/4
K:G
 (3DEF | GFGA Bdgf | agfc ed^cd | BGDG cAFG | ABcB AG (3FED | G,B,D=F ECEG | FDFA GBAc | 
 Bgfd cAFA | G2 GF G2 :: fg | afdg bgfa | gfge dcBd | ceAc BcdA | FAcA FD (3CB,A, | G,B,D=F ECEG | 
 FDFA GBAc | Bgfd cAFA | G2 GF G2 :|  