Craft a musical arrangement that integrates the provided motif and upholds the required musical structure.
X:1
L:1/8
M:3/4
K:D
['d2 c2 d2 e>d cd', 'd2 fd f2 (ed) cd e2'  
X:1
L:1/8
M:3/4
K:D
 d2 c2 d2 | e>d cd e2 | (f2 g)f ed | (cd) fd A2 | d2 c2 d2 | e>d cd e2- | ef gf ed | ce d2 z2 :: 
 d2 fd f2 | (ed) cd e2 | (ed) ef g2 | (fe) fg a2 | d2 fd f2 | (ed) cd e2 | ef ge fd | (ec) d2 z2 :|  