Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
Q:3/8=60
M:3/8
K:D
['dfa a2 f', 'd3 Ace e2 c f2 d g2', 'dcB AAA'  
X:1
L:1/8
Q:3/8=60
M:3/8
K:D
 dfa | a2 f | gec | d/c/d/e/d | dfa | a2 f | gec | d3 :: Ace | e2 c | f2 d | g2 e | dfa | a2 f | 
 gec | d3 :: dcB | AAA | BAG | FFF | dcB | AAA | gec | d3 :|  