Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/2
K:Edor
['f d2 TAF E>EF>A d<AA>B d>ef>d e>Bd>F', 'A a f<da>d Tf>ee>a f<da>d b>da>d g<af>g'  
X:1
L:1/8
M:2/2
K:Edor
 f | d2 TAF E>EF>A | d<AA>B d>ef>d | e>Bd>F E>EF>A | d>AB>F A2 A :| a | f<da>d Tf>ee>a | 
 f<da>d b>da>d | g<af>g Te>def | ABd>e Tf2 e :|  