Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:4/4
K:G
['B d>d(d>B) d>Bd>B eeg>f e2 (e>f) g>e']  
X:1
L:1/8
M:4/4
K:G
 B | d>d(d>B) d>Bd>B | eeg>f e2 (e>f) | g>e d<B A>G A<B | G<E E>D G3 :|  