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=180
M:4/4
K:G
['G2 dG eGdB G2 dB AGEF', 'gfga bgeg g2']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 G2 dG eGdB | G2 dB AGEF | G2 DG BGBd | gedB AGEF | G2 dG eGdB | G2 dB AGEF | GB (3AGF G2 AB | 
 gedB AG E2 || gfed eB B2 | gfga bgeg | g2 fg eB B2 | gedB AG E2 | g2 fg egfa | gfga bgeg | 
 g2 gf gbaf | gedB AG E2 |]  