Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:6/8
K:G
['A EAA AGA Bcd e2 f gfg', 'aea aea']  
X:1
L:1/8
M:6/8
K:G
"^A dorian" A | EAA AGA | Bcd e2 f | gfg ege | dBG G2 A | EAA AGA | Bcd e2 f | gfg edB | A3 A2 :| 
 a | aea aea | aea b2 a | gfg ege |1 dBG G2 a | aea aea | aea b2 a | gfe dBG | A3 A2 :|2 dBG G2 A | 
 EAA AGA | Bcd e2 f | gfg edB | A3 A2 |]  