Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
M:4/4
K:D
['ABAG FGAB =c2 cd BG G2 ABAG', 'e2 de'  
X:1
L:1/8
M:4/4
K:D
|: ABAG FGAB | =c2 cd BG G2 | ABAG FGAg |1 fdec AddB :|2 fdec Adde || fddd e2 de | fddd ecAe | 
 fddd e2 de | fdag fdde | f2 df e2 de | f2 df ecA^G | ABcd efge | a2 ge fddB ||  