The deal paves the way for Form Energy to raise a new funding round before potentially going public next year.
Viatris will eliminate 3,200 jobs as part of a three-year restructuring expected to save $600 million to $700 million annually.
The United Downs power plant, near Truro in Cornwall, becomes the first power plant in the UK to generate electricity from the Earth's heat.