how would you calculate the weight of percipitate of AgBr that will dissolve in 400 ml of water?

Well, it is rather unsoluble. About 0.14milligrams per liter (20C) is the solubility, so then .4 times that is how much is dissolved in 400ml.