Build a musical work using the provided motif and following the indicated form.
X:1
L:1/4
Q:1/8=130
M:2/2
K:D
['d e', 'e c'  
X:1
L:1/4
Q:1/8=130
M:2/2
K:D
"^allegro" D D D/E/F/G/ | A2 A3/2 c/ | d c d e | f2 A z |"^5" f g a f | e f g e | f d e c | 
 d2 d z |"^9" D D D/E/F/G/ | A2 A3/2 A/ | d3/2 c/ d e | f3/2 g/ a z |"^13" A F G F/G/ | 
 A F G F/G/ | B/A/G/F/ A/G/F/E/ | D2 D z ||"^17" f3/2 e/ f g | a2 f z | e3/2 d/ c/d/e/f/ | g2 e z | 
"^21" f f/g/ a f | e/d/e/f/ g e | f d e c | d2 d z |"^25" D D D/E/F/G/ | A2 A3/2 c/ | 
 d c d/e/f/d/ | e c A z |"^29" A2 G F | G3/2 A/ B G | F A A/G/F/E/ | D2 D z |]  