Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['BFdc B3 d BAGB AFEF D2 FA', 'd A3 f2 fe d'  
X:1
L:1/8
M:4/4
K:Bmin
|: BFdc B3 d | BAGB AFEF | D2 FA dfaf | gbag fedc | BFdc B3 d | BAGB AFEF | D2 FA dfaf |1 
 edcA B4 :|2 edcA B3 c |: d A3 f2 fe | d B3 g2 gf | d A3 f2 fe | d B2 A B3 c | d A3 f2 fe | 
 d B3 g3 a | b f2 b afed |1 edcd B3 c :|2 edcd B4 ||  