Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['F3/2f>[^E^e] [Ff]<[Aa] d2 c>d e>^de<g B2 e>=d', "=g>ec<e d<ce>d A2- A>G :|2 c'>bg>e b>a"  
X:1
L:1/8
M:4/4
K:D
|: F3/2f>[^E^e] [Ff]<[Aa] d2 c>d | e>^de<g B2 e>=d | c>Ac>e b>a (3gfe |1 
 d>cd<f A2 (3[Aa][^G^g][=G=g] :|2 d2 (3cdc B2 (3A^G=G |: F>Ad>c e>dc<d | B<GB>d b4 |1 
 a>^gb>a =g>ec<e | d<ce>d A2- A>G :|2 c'>bg>e b>a (3gfe | f<Ae<A d4 ||  