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
['d e2 d edBA G2 BG AGEG', 'baga bage d2 Bf gedB B']  
X:1
L:1/8
M:4/4
K:G
|: d e2 d edBA | G2 BG AGEG | G2 b2 agea |1 gedB ed B2 :|2 gedB G3 z |: d G3 BABd | g3 a baga | 
 bage d2 Bf | gedB B A3 :|  