Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:A
['e c>BAa', 'ec d>fec', 'cAec (3BBB'  
X:1
L:1/8
M:4/4
K:A
 e ||"^tr" c>BAa (3fga ec | d>fec B3 B | cBAa (3fga ec | d>fec A2 A :| e |"^tr" c>BAc defd | 
 cAec (3BBB B2 | c>BAc def^g | afec (3AAA A2 | cAeA fAea | cAec (3BBB Bf/^g/ | af^ge fdec | 
 dfec (3AAA A ||  