Compose a musical work using the provided motif and the given sequence in alphabetical order.
X:1
L:1/8
M:4/4
K:D
['f>ed>f e>dB>g']  
X:1
L:1/8
M:4/4
K:D
 B | A>AA>f e>dB<d | A>AA>B d>ed>B | A>AA>f e>dB>g |1 f<ae>f d>ed>B :|2 f<ae>f d>d d | g | 
 f>ed>f e>dB>g | f>ef>g a>da>g | f>ed>f e>dB>g | f<da>f d2 d :|  