Craft a musical arrangement that integrates the provided motif and upholds the required musical structure.
X:1
L:1/8
M:4/4
K:D
['A2 FA', 'dAFA dfaf gfed'  
X:1
L:1/8
M:4/4
K:D
|: B | A2 FA BcdB | A2 FA BEEB | A2 FA Beec | dABG FEE :| c | dAFA dfaf | gfed cdec | dAFA BABc | 
 dABG FDDc | dAFA dfaf | gfed cd e2 | defg abaf | gbag fdd ||  