Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
['f2 d', 'f f2 f', 'a2 g'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
 a | aba f2 d | e2 d A2 A | ded f2 d | a2 g e2 a | aba f2 d | d'2 b g2 b | bgf afe | d3- d2 :: f | 
 f2 f f2 f | f2 f d'2 g | eee a2 g | g3 f2 a | aba f2 d | d2 B G2 g | baf age | d2 z z2 :: z | 
 a2 g d2 d | e2 c A2 A | ded f2 d | a2 g e2 a | aba f2 d | d'2 b g2 b | baf age | d2 z z2 :|  