Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:6/8
K:G
['B2 G A2 D GAG']  
X:1
L:1/8
M:6/8
K:G
 d2 c | B2 G A2 D | GAG Gdc | BdB GAB | cBc Adc | B2 G A2 D | GAG G2 A | B2 B cAF |1 G3 ||  