Before her rescue, Trillian learns that Zaphod signed the order for the destruction of Earth, thinking that the Vogon with the permission form just wanted his autograph. The group escapes the Vogons, followed by Galactic Vice-President Questular Rontok and the Vogons. They arrive at Magrathea but trigger its automated missile defense systems. Arthur re-activates the improbability drive to transform the missiles into a bowl of petunias and a whale, allowing them to land safely on the planet. Zaphod, Ford, and Trillian enter a portal to arrive at Deep Thought, though Arthur and Marvin are stranded outside the portal. They learn from Deep Thought that after coming up with the Answer "42", its creators had Deep Thought design another computer to come up with the Question, that being Earth. They recover the Point-of-View gun, though Trillian uses it on Zaphod to show him her resentment for his accidental destruction of the Earth. They are captured by unknown entities. Meanwhile, on Magrathea, Arthur is met by Slartibartfast, one of the planet builders. Slartibartfast takes Arthur to a pocket dimension inside the planet where he shows that a new version of Earth is near completion. Slartibartfast takes Arthur to his recreated home, where inside, the others are enjoying a feast provided by the pan-dimensional beings who commissioned Arthur's original Earth, and who resembles a pair of mice. With Arthur, who was on Earth up until the last minutes, the mice think they can discover the Question by removing his brain. Arthur manages to escape and crush the mice under a teapot; they disappear without a trace. Suddenly, Questular and the Vogons arrive outside the home and open fire. The group takes shelter in a caravan, but Marvin, left alone, uses the Point-of-View gun to make the entire Vogon force too depressed to continue fighting, making both of them to break down. The Vogons are taken away, while Zaphod reunites with Questular. Arthur decides to explore the galaxy with Ford and Trillian, allowing Slartibartfast to finalize the new Earth without him. The Heart of Gold crew decides to visit the Restaurant at the End of the Universe. Cast Sam Rockwell as Zaphod Beeblebrox, the President of the Galaxy Mos Def as Ford Prefect, the "semi-cousin" of Zaphod Zooey Deschanel as Trillian, an Earth woman Martin Freeman as Arthur Dent, a man who gets roped into Zaphod's quest Bill Nighy as Slartibartfast, a planet builder