Compose a musical work using the provided motif and the given sequence in alphabetical order.
X:1
L:1/8
M:2/2
K:G
['d2 BG dGBG', 'AGEG D3 B', 'AGEG gedB GABd gdBd eaaf gedB GABG', 'dggf g3', 'AGAB G2 BG']  
X:1
L:1/8
M:2/2
K:G
 d2 BG dGBG | dGBG AGEG | d2 BG dGBG | AcBG AGEG :: D3 B BAGE | DGBG AGEG | D3 B BAGB | 
 AcBG AGEG :: gedB GABd | gdBd eaaf | gedB GABG | ABcd eA A2 :: dggf g3 e | dggd egdB | dggf g3 d | 
 egdB AGAB :: G2 BG dGBA | GBBG AGAB | G2 BG dGBd | egdB AGAB :|  