Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:C
['g<c g>e', 'G<c E>c', 'e>c G<c E>c d>D D>g a<f g>e'  
X:1
L:1/8
M:4/4
K:C
 a/ | g<c g>e g<c g>e | g<c g>e f>d (3def | g<c g>e c>e f>e | f<a g>f |1 e<c c3/2 :|2 e>d c3/2 |] 
 A/ | G<c E>c G>c e>c | G<c E>c d>D (3DEF | G<c E>c G>c e>c | f<a g>f e>d c3/2 || A/ | 
 G<c E>c G>c e>c | G<c E>c d>D D>g | a<f g>e f>d e>c | B<a g>f e>c c3/2 |]  