Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/16
M:2/4
K:G
['GBdB AGAB cdef gfgf', 'cdef gfgf'  
X:1
L:1/16
M:2/4
K:G
 D2 | G2GF GBdB | AGAB cdef | gfgf ecAG | FGAF DEFD | GFEF GBdB | AGAB cdef | gfgf ecAF | G2G2G2 :: 
 Bc | dedc Bcdf | efed cdef | gfgf ecAG | FGAF DEFD | GFEF GBdB | AGAB cdef | gfgf ecAF | G2G2G2 :|  