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
['defg afde f2 fg f2 e2 defg', 'A B2 B2 g2 B2 AffA f2', 'd2 cdef gece |1 defg a2 B2'  
X:1
L:1/8
M:4/4
K:D
|: defg afde | f2 fg f2 e2 | defg afdf | eece d3 A :: B2 B2 g2 B2 | AffA f2 ed | cdef gece |1 
 defd A3 A :|2 dfec d3 B |: b2 Bb- bB b2 | a4 a2 d2 | cdef gece |1 defg a2 B2 :|2 dfec d4 |]  