Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/4=150
M:4/4
K:A
['ABcd efec eaec eaec d2 fd c2', 'd2 fd c2 ec'  
X:1
L:1/8
Q:1/4=150
M:4/4
K:A
 ABcd efec | eaec eaec | d2 fd c2 ec | BcdB AGFG | ABcd efec | eaec eaec | d2 fd c2 ec | BABc A4 :: 
 a2 a2 aece | a2 gf ecAc | d2 fd c2 ec | Bcdc BG E2 | ABcd efec | eaec eaec | d2 fd c2 ec | 
 BABc A4 :|  