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
['', 'afbf afde', 'F2 Ad fdAF G2 Bd', 'B Acef gecA']  
X:1
L:1/8
M:2/2
K:D
 (3BcB |: Adfd gdfd | Adfd ed (3BcB | Adfd gdfd | efec d2 (3BcB | Adfd gdfd | Adfd ed (3BcB | 
 Adfd gdfd | efec defg | afbf afde | fded Bdfg | afbf afde | fdec defg | afbf afde | fded Bdfg |1 
 afbf afde | fdec d2 (3BcB :|2 afbf afde | fdec d2 GA ||[K:G] BGAG BGAG | BGAG EFGA |1 BGAG BGAG | 
 EGFA G2 GA :|2 BGAG BGAG | EGFA G2 AG ||[K:D] F2 Ad fdAF | G2 Bd g3 B | Acef gecA | defg afdA | 
 F2 Ad fdAF | G2 Bd g3 B | Acef gecA | dedc dcBA | F2 Ad fdAF | G2 Bd g3 B | Acef gecA | 
 (3ded (3cdc (3BcB (3ABA | F2 Ad fdAF | G2 Bd g3 B | Acef gecA | dedc defg |: a2 fd adfa | 
 g2 e=c gceg |1 a2 fd adfa | gecA defg :|2 a3 f agfa | gecA d3 ||  