Mara has 150 - 40 = <<150-40=110>>110 cards.
Janet has 110/2 = <<110/2=55>>55 cards since Mara has twice as many as Janet.
Brenda has 55 - 9 = <<55-9=46>>46 cards since Janet has 9 cards more than Brenda.
Therefore, they all have 110 + 55 + 46 = <<110+55+46=211>>211 cards.
#### 211