Determine whether a solid forms when solutions containing the following salts are mixed. If so, write the ionic equation and the net ionic equation.
AgNO3(aq) and K2S(aq)

Can someone explain to me how they're getting this?