Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
Q:3/8=120
M:9/8
K:D
['d2 d d2 b', 'cBA afa bgb', 'cBA dBd fdf'  
X:1
L:1/8
Q:3/8=120
M:9/8
K:D
 d2 d d2 b afd | B2 e e2 d cBA | d2 d d2 b abc' | d'2 d ded cBA :: afa bgb afd | e2 e e2 d cBA | 
 afa bgb abc' | d'2 d ded cBA :| dBd fdf afa | !fermata!d'6 |]  