Create melodies that follow the established musical structure, incorporating the given motif.
X:1
L:1/4
Q:1/4=160
M:3/4
K:C
['e c', 'c A', 'b a f a g'  
X:1
L:1/4
Q:1/4=160
M:3/4
K:C
 c |"^in Key C" f c A/G/ | F G A | B d (g/f/) | e c e | f c A | B3/2 c/ d | c f e | f2 | g/>g/ | 
 a f a | g e c | d3/2 (e/f/g/) | e c g | a f a | g e c | f e d |!D.C.! c2 |][K:D] A | 
"^in Key D" d A F/C/ | D E F | G A (e/d/) | c A c | d A F | G3/2 A/ B | A d c | d2 | e/>e/ | 
 f d f | e c A | B3/2 (c/d/e/) | c A e | f d f | e c A | d c B |!D.C.! A2 |][K:G] d | 
"^in Key G" g d B/A/ | G2 A/B/ | c A a | f/>e/ d e/f/ | g d c/B/ | c3/2 d/ e | d{ef} g f | g2 | 
 g/a/ | b/b/ g b | a f a | g e a | f/>e/ d g | b g/a/ b | a f a | g f e |!D.C.! d2 |]  