Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:6/8
K:Edor
['E2 B BAG FDC DFA GBd A2', 'fed gaa fgg efe Bcd e2 e'  
X:1
L:1/8
M:6/8
K:Edor
|: E2 B BAG | FDC DFA | GBd A2 G | FAd fed | eBd c3 | dAG FED | cdA BAF |1 DFA BAF :|2 DFA Bcd |: 
 e2 e edc | d2 e fed | gaa fgg | efe Bcd | e2 e edc | d2 e fed | cdA BAF |1 DFA Bcd :|2 DFA BAF ||  