Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:3/4
K:G
['e2 e2 ed e2 a2 ag e2', 'c2 BA'  
X:1
L:1/8
M:3/4
K:G
 e2 e2 ed | e2 a2 ag | e2 g<e dc | c2 c2 GA | B2 c2 BA | G2 g2 ed | c2 BG AG | E2 E2 || EF | 
 G2 c2 BA | G2 G2 G/A/B | c2 e2 d2 | c2 c2 G A | B2 c2{c} BA | G2 g2 ed | c2 BA AG | E2 E2 z2 |]  