Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:3/4
K:Cdor
['c<G c>d e>g f2 f>g f>d e>c', 'e2 e>d c>B A2 A>G d>e f2'  
X:1
L:1/8
M:3/4
K:Cdor
 (3GA=B | c<G c>d e>g | f2 f>g f>d | e>c G>c e>c | d>=B G>B d>B | c<G c>d e>g | f2 f>g f>d | 
 e>c G>=B d>B | c<G c2 :|[K:C] (3Gcd | e2 e>d c>B | A2 A>G d>e | f2 d>B d>f | e2 (3dcG c>d | 
 e2 e>d c>B | A2 A>G d>e | f2 d>B d>B | B>c c2 :|  