Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bmix
['FB (3BBB cBcd fB (3BBB', 'bf g2'  
X:1
L:1/8
M:4/4
K:Bmix
|: BG | FB (3BBB cBcd | fB (3BBB cdfB | g4 fdBd | cBcd cBGB | FB (3BBB cBcd | fB (3BBB cdfb | 
 g4 fdBd |1 cBcd B2 :|2 cBcd Bcdf |: b3 b- b2 c'b | d'2 d'c' b2 bf | g2 gf b2 fg- | gfbf gfdf |1 
 b3 b- b2 c'b | d'2 d'c' b2 bf | g2 g2 fdBd | cBcd Bcdf :|2 FB (3BBB cBcd | fB (3BBB cdfb | 
 g4 fdBd | cBcd B2 ||  