Compose a musical work using the provided motif and the given sequence in alphabetical order.
X:1
L:1/4
M:3/4
K:D
['A G']  
X:1
L:1/4
M:3/4
K:D
 D =F G | A2 _B | A2 G | A2 z | A A A | =c2 _B | A G G | =F2 A | G A _B | A2 D | =F E D | =C2 z | 
 G G G | =F/E/F/G/ A | G =F E | D3 |]  