Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
Q:1/8=100
M:6/8
K:D
['afd{f} e2 d', 'e2 d', "d (d'a)a (d'b)b (d'a)a{g} fed e2 f"  
X:1
L:1/8
Q:1/8=100
M:6/8
K:D
"^$" (a>f)f (b>c'd') | a>ff{g} f>ed | a<ff b>c'd' | afd{f} e2 d | a<ff b>c'd' | a<ff f>ed | 
 e2 f g>ab | afd{f} e2 d :|{fg} a2 d{ga} b2 d |{fg} a2 d (f>ed) |{fg} a2 d{ga} b2 d | afd{f} e2 d | 
{fg} a2 d{ga} b2 d |{fg} a2 d (f>ed) | e2 f g>ab | afd e2 d :| (d'a)a (d'b)b | (d'a)a{g} fed | 
 (d'aa) (d'bb) | afd{f} e2 d | (d'a)a (d'b)b | (d'a)a{g} fed | e2 f g>ab | afd{f} e2 d :|  