Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
M:9/8
K:D
['AFd AFd AFD E2 F GFG Eed', 'ABc dAG FED Adf agf efg B2'  
X:1
L:1/8
M:9/8
K:D
 AFd AFd AFD | E2 F GFG Eed |[M:6/8] cBc dcB |[M:9/8] AFd AFd AFD | E2 F GFG Eed |[M:6/8] cBc d3 :| 
 Adf agf | efg B2 A | cBc ABc | dAG FED | Adf agf | efg B2 A | cBc ABc | dfe dcB :|  