Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:3/8=120
M:6/8
K:A
['E EAA AGA B2 G E2 E', 'A2 d cde edc f2 d B2'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:A
 E | EAA AGA | B2 G E2 E | EBB Bcd | e2 c A2 :: d | cde edc | f2 d B2 B | Bcd dcB | cec A2 A | 
 EAA GBB | cAA dBB | cde dcB | A3 A2 :|  