Create melodies by incorporating the provided musical pattern and motif.
X:1
L:1/8
Q:1/4=150
M:3/4
K:A
['cd Bd ce fg af', 'e4 bg af ec (3def dd c2'  
X:1
L:1/8
Q:1/4=150
M:3/4
K:A
 cd Bd ce | fg af ec | d>(d c)e B>d | (3cBA (3GAB A2 | cd Bd ce | fg af ge | bg af eg | 
{fe} f>^d e4 :: bg af ec | (3def dd c2 | de fd Bd | (3cBA (3GAB A2 | (3(AGA) (3(BAB) (3(cBc) | 
 (3(dcd) (3(efg) a2 |{ga} g>(f e>)d (3cAc | B>(G A4) :|  