Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/4
K:D
['FAAa gfed', 'FAAd BdA>F'  
X:1
L:1/8
M:2/4
K:D
 (A/G/) | FAAa | gfed | B/c/d/c/ B/A/G/F/ | BEE(A/G/) | FAAa | gfed | B/c/d/B/ A/B/A/G/ | FDD :: 
 (A/G/) | FAAd | BdA>F | GBAF | BEE(A/G/) | FAAd | BdA>F | G/F/G/B/ A/B/A/G/ | FDD :|  