The mother asked her daughter where she had been. - tylko to jest poprawne zdanie.
Natomiast gdyby było:
"Where were you?" the mother asked her daughter.
to wtedy są dwie poprawne wersje:
1. The mother asked her daughter where she was.
2. The mother asked her daughter where she had been.