I'm thinking of giving away my daughter's dog
How old is the dog?
She is young at this time.
I don't think you should give away your daughter's puppy. Think of how devastating it will be to her to lose her pet, and how she will grow up with that pain.
It didn't work out, I need to focus on getting her a new dog.
It takes a while for pets to settle into their new surroundings and to bond with their families. The dog might seem like trouble now, but it can be trained, and its behavior will improve with time. Only if you really cannot keep this pet should you get rid of it, since that disruption will be very hard for your daughter.