So according to the rules of solubility, if we add SO4 ions then that would take care of both the silver and barium. And then adding either CO3 or PO4 would take care of the iron (III). If this is right, that question wasn't hard at all! I guess I just wasn't thinking along the right lines.