P\left(x \right)=\frac{2x-{x}_{1}-{x}_{2}}{\left({x}_{0}-{x}_{1} \right)\left({x}_{0}-{x}_{2} \right)}{y}_{0}+
\frac{2x-{x}_{0}-{x}_{2}}{\left({x}_{1}-{x}_{0} \right)\left({x}_{1}-{x}_{2} \right)}{y}_{1}+
\frac{2x-{x}_{0}-{x}_{1}}{\left({x}_{2}-{x}_{0} \right)\left({x}_{2}-{x}_{1} \right)}{y}_{2}.