Craft a musical arrangement that integrates the provided motif and upholds the required musical structure.
X:1
L:1/8
M:6/8
K:D
['DFA d2 g faf ecA', 'fga afd', 'D2 f E2 g F2 a bag'  
X:1
L:1/8
M:6/8
K:D
 DFA d2 g | faf ecA | BdB AFD | ECA, A,3 | DFA d2 g | faf ecA | Bgf edc | d3 D3 :: fga afd | 
 gab bge | fga afd | ecA acA | fga afd | gab bae | afd gec | d3 D3 :: D2 f E2 g | F2 a bag | 
 f2 d e2 c | d2 B AFD | D2 f E2 g | F2 a bag | fad gec | d3 D3 :|  