Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:2/2
K:D
['', 'dfaf gfeg fdAF DFA=c BGFG EFGg', 'bagf g3 e cege cege agfg a3']  
X:1
L:1/8
M:2/2
K:D
 A |: dfaf gfeg | fdAF DFA=c | BGFG EFGg | fgec dcBA | dfaf gfeg | fdAF DFA=c | BGFG EFGg |1 
 fgec d4 :|2 fgec d2 fg |: a3 f dfaf | dfaf bagf | g3 e cege | cege agfg | a3 f dfaf | dfaf bagf | 
 g2 gf gbag |1 fgec d2 fg :| fgec d4 ||  