Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:6/8
K:D
['ABA DFA dAd f2 e dfb afd', 'A dfb afd B3 B ef gec'  
X:1
L:1/8
M:6/8
K:D
|: ABA DFA | dAd f2 e | dfb afd | B3 .B ef | gfg Bde | fed ecd |1 efe dcB | ABA GFG :|2 efe ABc | 
 d3 .d fg |: afd bge | afa B2 A | dfb afd | B3 B ef | gec aec | Ace gfg |1 aba gfe | fdB AFA :|2 
 aba ABc | d3 .d cB ||  