Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:4/4
K:G
['B2 GB AGEG DGGF G2', 'd2 Bd gdBd']  
X:1
L:1/8
M:4/4
K:G
|: GA | B2 GB AGEG | DGGF G2 AB | c2 AB cBAG | EGAG FDGA | B2 GB AGEG | DGGF G2 Bc | d2 Bd gdBd | 
 cAFA G2 :: Bc | d2 Bd gdBd | d2 Bd gdBd | e2 ce agfe | defg agfe | d2 Bd gdBd | d2 Bd gdBd | 
 c2 dc BAGB | AGEF G2 :|  