Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
Q:1/4=120
M:4/4
K:C
['z d', "g>agb a>bac' b>c'bd' d'3 c' b<gec B2"  
X:1
L:1/8
Q:1/4=120
M:4/4
K:C
 C |[K:G] c!p!.TCae"^Andante" B>c | d<gf<e d2 B>c | d>ed<B A2 d>F |{A} G2 z G G3 B | Aedc cBB>c | 
 d>.g.f<e d2 B>c | d>ed<B A2 z F | G3 G G2 z B | Aedc cB z d | g>a bb af z d | 
 e3/2{fede}f/ gg gf z d | b2 a/g/f/e/ a3 b/g/ | f>g"^tr" Te2 d2 z2 | e3/2{fede}f/ gg gf z d | 
 c3/2{dcBc}d/ ee dB z G | c3 d/c/ B g2 d | .c.B.A.G"^fermata" d3 ^d | e>f gg fd z B | 
 c>d ee dB z G | c3 B/A/B g2 f/e/ | e/d/c/B/ d/c/B/A/ G4 |{e} d/^c/d/e/ d=cBg z d | 
{e} d/^c/d/e/ d=cBg z d | d/e/f/g/"^fermata" a{baga} b/c'/b/a/ z e/c/ z | B2 A2 G2 z2 || 
"^Sy" f>gfa g>agb | a>bac' b>c'bd' | f>gfa g>agb | a>bac' b>c'bd' | d'3 c' b<gec | B2 A2 G2 z2 |]  