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 BA', 'GABd edge']  
X:1
L:1/8
M:4/4
K:G
 DGBG A2 BA | GE E2 cEGE | DGBG A2 BA | GEED EFGA | B3 d A2 BA | GE E2 cEGE | DGBG A2 BA | 
 GEED EFGA |] GABd edge | dB B2 dBAB | GABd edge | dBAB GFGA | GABd edge | dB B2 dega | bgag egde | 
 gedB AGEG |]  