Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:2/4
K:G
['AG EG']  
X:1
L:1/8
M:2/4
K:G
 D2 DB | AG EG | D2 DB | AG E2 | D2 DB | AG EG | D2 dB | AG G2 | Bd AB | AG EG | Bd AB | AG G2 | 
 Bd AB | AG EG | D2 dB | AG G2 |]  