Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/4
M:4/4
K:C
['e d/-d/ c c A G E2']  
X:1
L:1/4
M:4/4
K:C
 e d/-d/ c c | A G E2 | G G A c | e2 e2 | e d/-d/ c c | A G E2 | G G A B | c2 c2 |]  