Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:4/4
K:D
['A d2 AG FDFA BGBd cAce f2', 'dfaf dfaf gfef g2 ef gfed cABc'  
X:1
L:1/8
M:4/4
K:D
 A | d2 AG FDFA | BGBd cAce | f2 fd gfed | c2 d2 e3 A | d2 AG FDFA | BGBd cAce | f2 fd gfed | 
 A2 d2 d2 :: A | dfaf dfaf | gfef g2 ef | gfed cABc | defg f3 fe | dfaf dfaf | gfef g2 ef | 
 gfed cABc | d2 f2 d3 :|  