The Pyramid at the End of the World

When the Earth is set on a countdown to destruction, an alien race offers a deal to save humanity. Will the Doctor accept their help?