The team learns a shocking secret about Veronica when an invention goes awry. Meanwhile, Linda tries to set up Ted with another woman.