Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/16
M:2/4
K:G
['D2G2 GAB2 E2A2 ABc2 F2e2', 'z2 [K:D] e2dc d4 (3(ded)A2 f2e2 .d2', '(3(ded)B2 (3(BcB)G2 G4 FGAB'  
X:1
L:1/16
M:2/4
K:G
 D2G2 GAB2 | E2A2 ABc2 | F2e2 d2c2 | BcAB G4 | D2G2 GAB2 | E2A2 ABc2 | F2e2 d2F2 | A2G2 G2 z2 :| 
[K:D] e2dc d4 | (3(ded)A2 f2e2 | .d2 z2 d4 :|[K:G] (3(gag)d2 (3(ded)B2 | (3(BcB)G2 G4 | FGAB e2d2 | 
 cdef a2g2 | (3(gag)d2 (3(ded)B2 | (3(BcB)G2 G4 | FGAB e2F2 | AGFA G4 :|  