Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:6/8
K:D
['d2 d ecA f2 f gec afd', 'afd afd'  
X:1
L:1/8
M:6/8
K:D
 d2 d ecA | f2 f gec | afd gec | dAG FED | d2 d ecA | f2 f gec | afd gec | d3 d3 :: afd afd | 
 bgd' d'3 | afd afd | cee e3 | afd afd | bd'c' d'c'b | afd gec | dAF D3 :|  