Compose a piece incorporating the provided motif while adhering to the given musical structure.
X:1
L:1/8
M:3/4
K:G
['e3 d']  
X:1
L:1/8
M:3/4
K:G
 G | GB e3 d | dG G3 B | AB e3 d | d2 dB | BA A3 B | cd e3 d | (3dBG (BA) z G | G4- G ||  