Correct equation typing

How do i get it to correctly type this math in code?

Use backticks around your expression.