Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/2
K:Ddor
['^g^gaa b2 a2 ^f^f^g^g a2 ^g2 ee^f^f', 'DEFG FEDE FEFG A2 A2 ABcd cBAB'  
X:1
L:1/8
M:2/2
K:Ddor
 ^g^gaa b2 a2 | ^f^f^g^g a2 ^g2 | ee^f^f g2 ^f2 | d2 d2 c4 :: DEFG FEDE | FEFG A2 A2 | ABcd cBAB | 
 c2 c2 B4 | DEFG FEDE | FEFG A2 A2 | ABcd cBAB | c2 B2 A4 :|  