Предложение имеет вид: She was really ashamed about the way she had acted.
Ответ: She was really ashamed about the way she had acted.