Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:2/2
K:D
['E>FE>D C>EG>B', 'd2 (EF) (AG) (A,2 A,>.C)(E>.G) (Fd) D4']  
X:1
L:1/8
M:2/2
K:D
 (f>.e) | (e>.d)(c>.d) D>FA>d | c>B ^A>B E>FE>D | C>EG>B ^G>AB>c | d>ef>d A2 f>e | e>dc>d D>FA>d | 
 c>B^A>B E>FE>D | C>EG>B ^G>Af>e | d2 f2 d2 :: (EF) | (AG) (A,2 A,>.C)(E>.G) | (Fd) D4 (d>.c) | 
 (B>.c)d>^d e>=dB>^G | A>A^G>A ^A<B^B<c | (3dcd (d2 D>F)(A>.d) | (3B^AB (E2 E>F)(G>.B) | 
 (A>g)e>c A>GE>C | D2{c} d2 D2 :|  