Ag(NO3)+ CaClYields to AgCl + (NO3)Ca

KI + Pb(NO3) yields to K(NO3)+ IPb
What is the precipitate in both??

AgNO3 + CaCl2 ==> 2AgCl + Ca(NO3)2

Ppt is AgCl.
You should memorize the solubility rules.
Here is a simplified set.

http://www.files.chem.vt.edu/RVGS/ACT/notes/solubility_rules.html