In both cases, the precipitates were AgCl and PbI2 respectively.
A precipitate is a solid product obtained from the reaction of two aqueous phase species. Let us now consider the two reactions listed in the question;
We can see that in both cases, the precipitates were AgCl and PbI2 respectively.
Learn more about precipitates: https://brainly.com/question/24846690