Compose a musical work using the provided motif and the given sequence in alphabetical order.
X:1
L:1/8
M:6/8
K:G
['BAG B3 dBG cee', '', 'afd efg dBG cee']  
X:1
L:1/8
M:6/8
K:G
|: D2 B BAG | B3 dBG | cee dBG | BAA ABA | D3 BAG | B3 dBG | cee dBA | BGG G3 :| d |: gab afd | 
 efg dBG | cee dBG | BAA ABd | g2 b afd | efg dBG | cee dBA | BGG G3 :|  