Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/16
Q:1/4=90
M:2/4
K:D
['ag f2fg e2ef d2d2d2 ef', "fg a2a2a2d'2 a2a2a2d'2"]  
X:1
L:1/16
Q:1/4=90
M:2/4
K:D
 ag | f2fg e2ef | d2d2d2 ef | g2ga f2fg | e2e2e2 ag | f2fg e2ef | d2d2d2 ef | gfed cdec | d2d2d2 :: 
 fg | a2a2a2d'2 | a2a2a2d'2 | a2a2 bagf | g2e2e2 fg | a2a2a2d'2 | a2a2a2d'2 | agfg agfe | 
 d2d2"^Da Cap" d2 |]  