Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:4/4
K:D
['FAdc d2', '(ef) gfge c2']  
X:1
L:1/8
M:4/4
K:D
 (AG) | FAdc d2 (AG) | FAdc d2 (A^G) | Aced cBA^G | Aced cBA=G | FAdc d2 (AG) | FAdc d2 A2 | 
 BcdB cdec | f2 d2 d2 :: (ef) | gfge c2 (Ac) | dcdB A2 (GF) | GABG FGAF | EDEF E2 (ef) | 
 gfge c2 (ec) | dcdB A2 (^GA) | BcdB cdec | f2 d2 d2 :|  