Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/4
K:D
['ad d/c/d/e/ eB B>B', 'd3 c/d/ ee ed/e/ ff fe/f/ gf'  
X:1
L:1/8
M:2/4
K:D
|: f/g/ | ad d/c/d/e/ | eB B>B | cc BA | a2 a/g/f/g/ | ad d/c/d/e/ | eB B>B | c/c/c/c/ BA | d3 :: 
 c/d/ | ee ed/e/ | ff fe/f/ | gf ed | a2 a/g/f/g/ | ad d/c/d/e/ | eB B>B | Aa ge | d3 :|  