Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
Q:3/8=100
M:6/8
K:D
['d3 f2 f', 'a gfe', 'd Bcd e2 c AcA FGA Bcd{e}']  
X:1
L:1/8
Q:3/8=100
M:6/8
K:D
 d2 d |{e} dcd e2 e | d3 f2 f | g2 g e2 e | a2 f d2 d | dcd f/e/d/e/f/e/ | d3 f2 f | agf edc | 
 d3 || a2 a | gfe f2 f | e3 d2 e | d2 e Bcd | cBA a2 a | gfe g/f/^e/f/g/f/ | e3 dfd | cec BAB | 
 A2"^$" || f2 d | Bcd e2 c | AcA FGA | Bcd{e} dcB | ^A2 F f2 e | dfg g2 g | efg fge | dec Bc^A | 
"^$ D Capo""^G3" |]  