Devon Energy is merging with Houston-based company, Coterra Energy, and plans to move its headquarters to Texas.