Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:Edor
['EB BA Bc BA FG (3AGF AG']  
X:1
L:1/8
M:4/4
K:Edor
 EB BA Bc BA | FG (3AGF AG E2 | EB BA Bc BA | FG (3AGF AG EB |[M:3/4] BG E2 EF | |4 MG2 AB FG EB | 
 BB EF GA/G/ EF | GF GA FG EB |[M:3/4] (3BFE FG EB | ||  