Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:3/4
K:Edor
['E3 G FE B4 Bc dc', 'gB Bg gB =c4 ef gf ag'  
X:1
L:1/8
M:3/4
K:Edor
 GFD | E3 G FE | B4 Bc | dc Be dc | dc BA GF | E3 G FE | B4 Bc | dc BA GA | B3 :: z ef | gB Bg gB | 
 =c4 ef | gf ag fe | ^d2 e2 f2 | gB Bg gB | =c4 ef | gf ag fd | e3 :|  