Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['cd dc d2', 'ed cA'  
X:1
L:1/8
M:4/4
K:Bmin
 B2 f2 d3 f | e2 dc cd z B | BA Bf d2 fd |1 ee dc BE FA :|2 ee dc B4 |: cd dc d2 B2 | 
 cd dc d2 z e |1 d2 cd e2 fe | ed cA B3 z :|2 d2 cd a2 f2 | ed cA BE FA ||  