LaTex and linear equations

Hello,

I am attempting to check answer using LaTex. Here is my code:

feedback=when answer1.latex=“y+1=\frac{3}{2}(x-3)” and answer1.submitted “Well Done! Correct Answer” otherwise “Try Again”
content: “${feedback}”

When the correct answer is typed, it does not read it as correct. I have attached an image of the equation.
linear equation

What am I doing wrong?

Thanks

It should work if you change your quotes around the latex string to backticks (`).

Also, checking latex like this is pretty brittle because it must be typed in exactly as the string, and that leads to issues. There are different techniques depending on if you just care that the equation is equivalent or if it needs to be in a particular form. Feel free to ask if you want more info.