Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:6/8
K:D
['a2 f g2 e', 'DFA AFA DGB BGB'  
X:1
L:1/8
M:6/8
K:D
|: a2 f g2 e | f2 d ecA | a2 f g2 e | (fe)e e(fg) | a2 f g2 e | f2 d (cBA) | (Bcd) (cde) | d3 D3 :: 
 DFA AFA | DGB BGB | DFA AGF | GEE E3 | DFA AFA | DGB BGB | Agf edc | d3 D3 :|  