Compose a musical work using the provided motif and the given sequence in alphabetical order.
X:1
L:1/8
M:2/4
K:G
['AABG AABG']  
X:1
L:1/8
M:2/4
K:G
 dgdB | A/B/A/G/AA/A/ | dgdB | A/B/A/G/AA/d/ | GGzA | gB/d/dd/B/ | A/B/A/G/GA | G4 | GAdd | gddB | 
 dddG | AABG | AABG | AABG | AABG | A2 D>DGG | A d2 G | EDE/D/C | D4 | d>AdB | Ad/B/AG | DDGG | 
 A d2 G | EDE/D/C | D4 |]  