Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:2/2
K:G
['E2 E2']  
X:1
L:1/8
M:2/2
K:G
 d2 | BAGE DEGA | B2 GB AG[GB][GB] | GDBc d2 BA | [Be]2 ef e3 d | BABc d2 ef | g2 af g3 A | 
 BABc dABA | BeEE E2 E2 | E2 E2 E2 dd | BAGE DE G2 A2 |[M:5/4] GBAG BG [GB]3 E |[M:2/2] DEGE BABc | 
 d2 d2 BAGE | DE G2 A2 GB | AGBG [G,G]3 E | DEGA BeEE | E2 E2 E2 EE |[M:2/4] E2 ||  