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
['E2 G2 e3 d (Bd)(ed)', 'A2 A2']  
X:1
L:1/8
M:2/2
K:G
 BA | G2 G2 D3 G | E2 G2 e3 d | (Bd)(ed) (Bd)(ed) | B2 (AG) G3 e | (dB)(AG) (DE)(GD) | E2 G2 e3 d | 
 (Bd)(ed) (Bc)(ed) | B2 (AG) G3 || B | A2 A2 A2 (GE) | G2 GA B2 AG | (AG)(AB) (cB)(cd) | 
 e2 A2 A2 Bd | e3 d B3 A | G3 A B2 (AG) | A2 E2 G3 A | B2 G2 G2 |]  