Velma tells the gang that she didn't solve the mystery and Fred figured it out right away, remembering that he said this time it was personal and realized that it was a personal attack on the gang.
She didn't solve the mystery. This is what Velma tells the gang. Fred figured it out right away. It was personal. This was what he said this time. This was what Velma was remembering. It was a personal attack on the gang. Velma realized this.