Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:6/8
K:G
['g f2 A', 'afd efg']  
X:1
L:1/8
M:6/8
K:G
 g | f2 A ABA | B/c/dB G2 g | f2 A AcA | d3 g2 g | f2 A AcA | B/c/dB G2 g | afd ge^c | d3 g2 :: 
 gfg afd | efg ge^c | f2 g afd | f3 g3 | fga afd | efg gec | f/g/af e/f/ge | d3 g2 :|  