Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:Edor
['E3 F G2 EF GBAG FDDF EDEF', '(3Bcdef geag'  
X:1
L:1/8
M:4/4
K:Edor
 E3 F G2 EF | GBAG FDDF | EDEF GFGA | (3Bcded (3Bcded | E3 F G2 EF | GBAG FDDF | EDEF G2 GA | 
 (3Bcded BE E2 |] efed (3Bcdef | geag fedf | efed (3Bcdeg | fedf e2 ed | (3Bcded (3Bcdef | 
 geag fddf | g3 e dged | (3Bcded BEED |]  