Compose a piece using the alphabetic notation of the assigned musical structure and the provided melodic motif.
X:1
L:1/8
M:4/4
K:G
['', '(3def g>dB>G D>GB>d e>dB>G D>GA>B |1 c>BAG', 'g>fe>^d e>^de>f e>d=c>B |1 A>BA>G F>GA>B c>Bc>d']  
X:1
L:1/8
M:4/4
K:G
 (3def |: g>dB>G D>GB>d | e>dB>G D>GA>B |1 c>BAG F>GA>B | c>Bc>d e2 ef :|2 c>BA>F D>FA>c | 
 B2 G>F G2 |: (3def | g>fg>a g>fe>^d | e>^de>f e>d=c>B |1 A>BA>G F>GA>B | c>Bc>d e2 e>f :|2 
 A>BA>G F>GA>c | B>GG>F G2 ||  