Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:2/2
K:D
['D2 (3FED FA A2 fedf edBc dBAF', 'defg afdf'  
X:1
L:1/8
M:2/2
K:D
 D2 (3FED FA A2 | fedf edBc | dBAF G3 B | AF F2 EGFE | D2 (3FED FA A2 | fedf edBc | dBAF G3 B | 
 AF F2 EGFE :| defg afdf | g2 fg eA A2 | defg afdf | (3gfe fd e3 A | defg a3 f | g2 fge A A2 | 
 dBAF G3 B | AF F2 EGFE :|  