Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['D2 FA d2 Ad d2 fd ecAc', 'defg afdf'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 D2 FA d2 Ad | d2 fd ecAc | d2 cd BAGF | GBAG FGEF | D2 FA d2 Ad | d2 fd ecAc | d2 cd BAGF |1 
 EdAF Ddcd :|2 GBAG FED || c | defg fafd | gfga bgec | defg afdf | gbag fgec | defg afdf | 
 g2 ba gfec | dcBA G2 ED |1 CEAG FDD :|2 CEAG FGEF ||  