Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
M:4/4
K:Bmin
['BA FB BA', 'B2 Bc d2 dc df ed (3cBA', 'dB (3BBB ba fb af ec'  
X:1
L:1/8
M:4/4
K:Bmin
 BA | FB BA B2 Bd | cB Af ec BA | FB BA BA Bd | cB Ac B2 :: Bc | d2 dc df ed | (3cBA eA fA eA | 
 dc Bc de fb | af ec B2 :: Bc | dB (3BBB ba fb | af ec AB ce | dB (3BBB ba fb | af ec B2 :|  