Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:6/8
K:D
['DEF A2 d BAF AFE DEF', 'AFD d2 B cBA BAF E3 dcB'  
X:1
L:1/8
M:6/8
K:D
|: DEF A2 d | BAF AFE | DEF AAd | BAF E3 | DEF A2 d | BAF AFE | DEF AFD |1 EFE D2 A, :|2 EFE DFA |: 
 dcB cBA | BdB AFD | d2 B cBA | BAF E3 | dcB ccA | B3 AFD | DEF AFD | EFE D2 A :|  