Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['cBAc BAGB AGEF', 'a2 ag'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
"^A dorian" ed | cBAc BAGB | AGEF GGED | EAAB cBcd | eaaf gfed | cBAc BAGB | AGEF G2 ED | 
 EAAB cBc=f | edcB A2 :| (3efg | a2 ag ageg | a2 ag agef | g2 gf gdBd | g2 ga gaeg | a2 ag aged | 
 egfa gfge | defg abaf | gedB A2 :|  