Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['A d/d/d (Ad) fedc BAGF EDCE |1', 'cAAc dDd=c B^cdB AFGE FDDA dAFA BGG^d'  
X:1
L:1/8
M:4/4
K:D
 A | d/d/d (Ad) fedc | BAGF EDCE |1 D/D/D DF DEFG | AFGE FDD :|2 D/D/D (dA) BGdB | AFGE FDDA || 
 d/d/d (A=c) BGG^d | e/e/e (B=d) cAAc | dDd=c B^cdB | AFGE FDDA | dAFA BGG^d | eB^Ge cAA=g | 
 fage dBAG | FAGE FDD ||  