How does the sentence end?

Matthew gave William guppies for their birthday, and 
Options: -Matthew taught them how to raise them to keep them healthy.; -William taught them how to raise them to keep them healthy.;
Matthew taught them how to raise them to keep them healthy.