Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:4/4
K:G
['A2 (3Bcd', 'dg a2 ea{b} agab gedB{c} BAA z']  
X:1
L:1/8
M:4/4
K:G
 A2 (3Bcd edBA | G3 A GEDB | A2 (3Bcd ed(3Bcd |1 efdB{c} BABG :|2 efdB{c} BAA z || a2 ea{b} agef | 
 g2 dg g2 dg | a2 ea{b} agab | gedB{c} BAA z | a3 b agef | g3 a g3 e | dega (3bag ab | 
 gedB{c} BABG ||  