Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/4
K:C
['e>fd>e cage', 'gcca gcca gcec'  
X:1
L:1/8
M:2/4
K:C
 (c/d/) | e>fd>e | cage | Gcce | Gccd | e>fd>e | cage | Gc e/d/c/d/ | ec c || a | gcca | gcca | 
 gcec | defa | gcca | gcca | gcec | defg :|  