Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:4/4
K:D
['dAAG FDFA GBed cABc |1 dAAG FDDg', 'dAGF GBec dfag :|2 fdge afbg fgec'  
X:1
L:1/8
M:4/4
K:D
 dAAG FDFA | GBed cABc |1 dAAG FDDg | fdec d2 :|2 dedA (3Bcd AG | FAEA DEFA || defg afdA | 
 GBed cAAg |1 fgaf dAGF | GBec dfag :|2 fdge afbg | fgec d2 ||  