Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:2/2
K:G
['D>G(B>G) (c>A)(B>G) A/A/A', 'B>GG f g>d(d>e) (=f3/2{gfe}g){fg} a>g =f>d(c3/2{dc}_B) AFF^f'  
X:1
L:1/8
M:2/2
K:G
 B | D>G(B>G) (c>A)(B>G) | A/A/A (B>G) c>A(=F<A) | D>G(B>G) (c>A)(B<G) | A/A/A (d>c) B>G(GB) | 
 D>G(B>G) (c>A)(B>G) | A/A/A (B>G) c>A(=F<A) | D>G(B>G) (c>A)(B>G) | A/A/A (d3/2{ed}c) B>GG || f | 
 g>d(d>e) (=f3/2{gfe}g){fg} a>g | =f>d(c3/2{dc}_B) AFF^f | g<(dd>e) (g>a){ga} b>a | 
 g>d(d>e) (g/f/g/a/) g>b | g<(dd>e) (=f{gf}e)(fa) | =f>d(c3/2{dc}_B) AFF (e/^f) | 
 g>e(=f>d) (e>c)(d>B) | A<g f<a gGG!D.C.! ||  