Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
['d2 (f/e/)!wedge!d/!wedge!c/ d A2 d efga f']  
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
|: d2 (f/e/)!wedge!d/!wedge!c/ | d A2 d | efga | f d2 e | fgab | efga | de/f/ gf |{f} e4 ::  