Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:Bmin
['BF F2', 'ADFD E2 EF Ggfg |1 efde (3Bcd'  
X:1
L:1/8
M:4/4
K:Bmin
 BF F2 AFEF | BF F2 (3Bcd eg | f2 df ecde |1 fd (3Bcd cAFA :|2 fdBd B2 BA || E2 EF Gdcd | 
 D2 FD ADFD | E2 EF Ggfg |1 efde (3Bcd AF :|2 efdB e4 ||  