The ions present in the original solution are:
Ca2+ and Co2+
Net ionic equation for the formation of the precipitate with lithium sulfate:
Ca2+(aq)+SO42−(aq)→CaSO4(s)
Net ionic equation for the formation of the precipitate with lithium phosphate:
3Co2+(aq)+2PO43−(aq)→Co3(PO4)2(s)