a: \(2018-x=\left(\sqrt{2018}-\sqrt{x}\right)\left(\sqrt{2018}+\sqrt{x}\right)\)
b: \(2018+x=2018-\left(-x\right)=\left(\sqrt{2018}-\sqrt{-x}\right)\left(\sqrt{2018}+\sqrt{-x}\right)\)
c: \(7x-12\sqrt{x}+5\)
\(=7x-7\sqrt{x}-5\sqrt{x}+5\)
\(=\left(\sqrt{x}-1\right)\left(7\sqrt{x}-5\right)\)