How is your daughter's daughter related to your nephew's daughter?

Your daughter's daughter is your grand daughter.
Your nephew's daughter is the granddaughter of your sibling (your brother or sister)

The grandchildren of siblings are second cousins.