that is not how you deworm a dog.
doing it like that, a segment will break off, and the worm will regrow.
as for the ticks. when they are as bad as this, you knock the animal out. and give if is a pyrethrin dip, and manually remove the ticks.
the process is dip, remove, dip, remove, dip remove, dip, remove. then you treat for the anemia. >>649369746
maybe tape worm, or flat worm, or round worm. there are many types of worms that infest animals, and people