Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:6/8
K:D
['d3 dAd e3 eAe', '(3f/g/a/ a2 (3e/f/g/ g2'  
X:1
L:1/8
M:6/8
K:D
 d3 dAd | e3 eAe | fga afd | cde ecA | d3 dAd | e3 eAe | f^ga Bag | a3 A3 :: a3 aAa | aba agf | 
 g3 gAg | gag gfe | (3f/g/a/ a2 (3e/f/g/ g2 | (3f/g/a/ a2 (3e/f/g/ g2 | faf gec | d3 D3 :|  