Create tunes based on the provided motif and adhere to the specified musical arrangement.
X:1
L:1/8
M:4/4
K:C
['A G E G']  
X:1
L:1/8
M:4/4
K:C
 A3 A d2 e2 | E2 A G E G E2 | A e e d c c d g | e8 | A c c d e g e2 | c3/2 e/ d c A2 A2 | 
 c d/ e/ A G E G c2 | A8 |]  