Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:C
['G E>DE>C EG G2 c>GA>G c>G A<c', 'e2 d>c', 'E<DD f e<g g>a g>ag>d e<a a>b', 'd<e a2 g<e e>d c<A'  
X:1
L:1/8
M:4/4
K:C
 G | E>DE>C EG G2 | c>GA>G c>G A<c | E>DE>C E<G G>c | A<c G>c E<DD :: f | e2 d>c d>ed>B | 
 c>de>d e/d/c/B/ c>G | A/A/A a>g e2 d>c | A<cG<c E<DD :: f | e<g g>a g>ag>d | e<a a>b a>ba>g | 
 e<g d>e c>de>c | A<a g>e e<dd :| | g | e2 d>^c d<e a2 | g<e e>d c<A A>c | GAcd e2 d<c | 
 A<cG<c E<D D>g | e2 d>c d<e a2 | g<e e>d c<A Ae/g/ | a>eg>d e2 d<c | A<cG<c E<DD ||  