Which compound, FeCO₃ or PbBr₂, is more soluble in acid than in base? Write balanced chemical equations to explain your answer.