The correct option is B Mid dorsal line of thorax and abdomen
The heart of cockroach consists of elongated muscular tube lying along mid dorsal line of thorax and abdomen. It is differentiated into funnel shaped chambers with ostia on either side. Blood from sinuses enter heart through ostia and is pumped anteriorly to sinuses again.
So, the correct answer is - mid dorsal line of thorax and abdomen.