Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/16
Q:1/2=60
M:2/2
K:D
['A2 d4 A4 FGAF D2A2 d2>f2e2>g2 fefg', 'fgfe d2A2'  
X:1
L:1/16
Q:1/2=60
M:2/2
K:D
 A2 | d4 A4 FGAF D2A2 | d2>f2e2>g2 fefg agfe | [df]2[df]2 [Ae]2[Ae]2 d2d2 e2e2 | f2fg a2gf f4 e2 :: 
 a2 | (a2g2) (g2f2) fgfe d2A2 | (g2f2) (f2e2) fgfe d2A2 | dAdf eAeg fdfa gegb | a2g2 f2e2 d4 z2 :|  