Tyrone took a significant step towards securing their Division One status with a vital six-point victory over Donegal in Letterkenny, in front of a crowd of 8,410.