Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:4/4
K:G
['', '(Bd) z', 'd>BA>G (Bd) z d', 'g2 Bd z e d>BA>G |1,3 F>GA>B', "b>a=f>d (3ce=f (3gab c'2 ||[K:G] uB2 ^d4", '(3GFE (3DEF', '(3GFE (3DEF']  
X:1
L:1/8
M:4/4
K:G
 (3(DEF) |: G2 D2 (TE2 D2) | G>FG>A (Bd) z d | e>dc>B c>BA>G |1,3 F>GA>B c2 B>A :|2,4 F>GA>B G2 :| 
 uG2 |: (Bd) z e d>BA>G | (Bd) z d b2 g2 | Bd z e d>BA>G |1,3 F>GA>B c2 BA :|2,4 F>GA>B G2 :| G2 |: 
 G>e^d>e Tc4 | G>e^d>e Tg4 |1 G>g^f>g a>ge>c | d2{^f} g2{f} g2{f} g2 :|2 G>g^f>g b>a=f>d | 
 (3ce=f (3gab c'2 ||[K:G] uB2 |"^>" e4"^>" ^d4 |{f} e>^de>f g>a g2 |"^>" d4"^>" ^c4 | 
{e} d>^cd>e f>ga>f |"^>" d4"^>" ^c4 |{f} e>^de>f g>fg>a | (bg) z g g>dB>G | A>GA>B G2 :: (3(DEF) | 
 (3GFE (3DEF (3GFE (3DEF | G>BA>c B>dc>A | (3GFE (3DEF (3GFE (3DEF | G>BA>G F>DE>F | 
 (3GFE (3DEF (3GFE (3DEF | G>BA>c B>de>f | g>de>c d>Bc>A | B>GA>F G2 :|  