Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['ag faef deAF DFAd f2 ef', 'GFGA Bcde fgfe dcdB', 'ag fgef decd BcAB'  
X:1
L:1/8
M:4/4
K:D
|: ag | faef deAF | DFAd f2 ef | gbeg deAF | GBAG E2 ag | faef deAF | DFAd f2 ef | gfed cABc | 
 d2 f2 d2 :: DE | GFGA Bcde | fgfe dcdB | A2 f2 fe f2 | G2 e2 ed e2 | GFGA Bcde | fgfe dcdB | 
 Afed cABc | d2 f2 d2 :: ag | fgef decd | BcAB G2 ba | gafg efde | cdBc A2 ag | fgef decd | 
 BcAB GAFG | Efed cABc | d2 f2 d2 :|  