Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:Amin
['AA-AA- A3 B AG-GA- A2 G2 ee-ee-', 'D2 D2'  
X:1
L:1/8
M:4/4
K:Amin
|:"Am" AA-AA- A3 B | AG-GA- A2 G2 |"C" ee-ee- e3 d | ed-de- e4 ::"G" D4- D4 | E^FFG- G4 | 
"Am" AB-BA- A2 G2 | ED-DC- C4 |"G" B,C D2 D2 D2 |"E7" E2 DC E2 DC |"Am" A,2 A,2- A,4 | A,4- A,4 :|  