Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Edor
['E3 (B B)AFD EBEB ADFD E3 B', 'B2 eB', 'B2 GB FBEB'  
X:1
L:1/8
M:4/4
K:Edor
 E3 (B B)AFD | EBEB ADFD | E3 B BAFA | BcdB ADFA :: B2 eB fBeB | B2 dB ADFD | B2 eB fBec | 
 dcdB ADFA | B2 eB fBeB | B2 dB ADFA | (3Bcd ef gfge | dcdB ADFA || B2 GB FBEB | B2 dB ADFD | 
 B2 GB FBEB | dcdB ADFA | B2 GB FBEB | B2 dB ADFA | BAGF EFGA | BcdB ADFD ||  