Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:Emin
['B4 Bded BdAd BE E2 BAGA Bdef', 'Bdef g3 a bgaf |1 gfed Bdef'  
X:1
L:1/8
M:4/4
K:Emin
 B4 Bded | BdAd BE E2 | BAGA Bdef |1 gfed Bded :|2 gfed Bdef |: g2 ge dB B2 | dg g2 Bdef | 
 g3 a bgaf |1 gfed Bdef :|2 gfed Bded ||  