Complex sentence: 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.
Split into simpler sentences: Velma tells the gang that she didn't solve the mystery and Fred figured it out right away. She tells him that it was a personal attack on the gang.