Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/16
M:2/4
K:A
['vA2a2 F2f2 E2ed cBA2 cde2 def2', '(.e2.e2) fddB BGGE c2(cd) ecae fdBG'  
X:1
L:1/16
M:2/4
K:A
 vA2a2 F2f2 | E2ed cBA2 | cde2 def2 | e2g2 a4 | vA2a2 F2f2 | E2ed cBA2 | cde2 def2 | e2g2 a4 || 
 vc2cd (.e2.e2) | fddB BGGE | c2(cd) ecae | fdBG A2A2 | c2cd (.e2.e2) | fddB BGGE | c2(cd) ecae | 
 fdBG A2 z2 |]  