Craft a musical arrangement that integrates the provided motif and upholds the required musical structure.
X:1
L:1/8
M:2/2
K:D
['D/D/D A>B', 'f>d de/f/'  
X:1
L:1/8
M:2/2
K:D
 F | D/D/D A>B A>FAB | D/D/D d>B A>FEF | D/D/D A>B A>FA>g | f>def d/d/d d :: g | f>d de/f/ g>fed | 
 c>Ae>A f>Ae>g | f>d de/f/ g>fe>d | c>def d/d/d d :|  