Compose a musical work using the provided motif and the given sequence in alphabetical order.
X:1
L:1/8
M:4/4
K:G
['G3 B d3 c B2 A2 A']  
X:1
L:1/8
M:4/4
K:G
 G3 B d3 c | B2 A2 A G3 | A4 d4 | c6 c2 | d3 B c2 A2 | B2 d2 B G3 | A2 d2 AA d2 | G8 |]  