Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
['DED F2 A d2 f e2 g', 'A d2 e fed g2 g g2'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
|: DED F2 A | d2 f e2 g | fdf ecA | dfd ecA | DED F2 A | d2 f e2 g | faf gec | d3- d2 A :: 
 d2 e fed | g2 g g2 f | e2 f gfe | a2 a a2 g | fdf ecA | dfd ecA | faf gec |1 d3- d2 A :|2 
 d3- d3 ||  