Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:3/2
K:D
['g2 b2 f2 a2 e4', 'd2 cBcB AG F4', 'GFED fgag efed c4 B2 e4 d2', 'GFED dcBA BABA GFGF E2 e4 d2']  
X:1
L:1/8
M:3/2
K:D
 g2 b2 f2 a2 e4 | e2 a2 a2 gfed | g2 b2 f2 a2 e4 | d2 d'4 a2 gfed || d2 cBcB AG F4 | 
 E2 e4 d2 dcBA | d2 cBcB AG F4 | D2 d4 A2 GFED || fgag efed c4 | B2 e4 d2 edcB | a2 gfgf ed c4 | 
 A2 d4 A2 GFED || dcBA BABA GFGF | E2 e4 d2 c2 BA | d2 cB A2 GFEFGE | D2 Bc d2 A2 GFED ||  