Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
Q:1/2=100
M:4/4
K:C
['(3(e^f^g a2) A2', 'cA(Bc) A2', 'A2 AA'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:C
 (3(e^f^g |:"Am" a2) A2 A2 (AB) | cA(Bc) A2 AG | (EG)AB"C" c2 cB | (AB)cd"E" e2 (3(e^f^g | 
"Am" a2) A2 A2 AB | cA(Bc) A2 (AB) | cBAc"E" BAGB |1"Am" AG(EG) A2 (3(e^f^g) :|2 
"Am" AG(EG) A2 ^cd ||"A" e2 ef e2 cd | efed cB A2 |"G" [gB]2 [gB][gB] [gB]2 ef | gfed cdef | 
"A" [ac]2 [ac][ac] [ac]2 ef | afed cB A2 |"G" GFGA BAGB |1"A" A2 AA A2 cd :|2"A" A2 AA A4 |]  