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=170
M:12/8
K:G
['d2 B', 'fga e2 g']  
X:1
L:1/8
Q:1/8=170
M:12/8
K:G
 gfe | d2 B BAB g2 e f2 e | d2 B BAB e3 efe | d2 B BAB g2 e f2 e | d2 B ABA G3 :| G2 g | 
 fga e2 g fga e2 g | d2 B BAB e3 efg | fga e2 g fga e2 g | d2 B ABA G3 :|  