Consider this equationx^2+1=2x-3Which expression correctly sets up the quadratic formula?

we have the equation
[tex]x^2+1=2x-3[/tex]Rewrite the given equation
[tex]\begin{gathered} x^2+1-2x+3=0 \\ x^2-2x+4=0 \end{gathered}[/tex]where
a=1
b=-2
c=4
substitute in the formula
[tex]x=\frac{-(-2)\pm\sqrt{-2^2-4(1)(4)}}{2(1)}[/tex]