Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/2
K:D
['D>F A2 F>G A2 B/c/d', 'A2 B/c/d'  
X:1
L:1/8
M:2/2
K:D
 D>F A2 F>G A2 | B/c/d A>F G<E E>F | D>F A2 F>G A2 | B/c/d c>B A<FF :| A | d<fe<c d>B A2 | 
 B/c/d A>F G>E E>c | d<fe<c d>B A2 | B/c/d c>B A<F F>A | (3dfd (3cec (3BdB (3AdA | 
 (3GBG (3FdF G<E E>F | D/E/F/G/ A2 F>G A2 | B/c/d c>B A<F F>A ||  