Develop a musical composition that includes the supplied motif while following the designated alphabetical pattern.
X:1
L:1/8
M:4/4
K:D
['d3 a f d2', 'd2 eAcA eAgA fAdA fAaA bg eb']  
X:1
L:1/8
M:4/4
K:D
 d3 a f d2 a | b e2 d c A2 c | d3 a f d2 f | (ed)(ef) d2 d2 :: eAcA eAgA | fAdA fAaA | bg eb afda | 
 bagf (f2 e2) :|  