Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
Q:1/8=300
M:6/8
K:G
['gfg e2 d (3Bcde dBG BAB dBG', 'gag b2 a gag edB']  
X:1
L:1/8
Q:1/8=300
M:6/8
K:G
|: (3d/e/f/ | gfg e2 d | (3Bcde dBG | BAB dBG | ABA def | gfg e2 d | (3Bcde dBG | BAB dBG | 
 ABA G2 :: (3d/e/f/ | gag b2 a | gag edB | dBg edB | ABA def | gag b2 a | gag edB | BAB dBG | 
 ABA G2 :|  