Feedback with student response as an equation


I am struggling to find a way for students to input their responses as an equation and for them to get feedback.

here is what I have so far, any feedback or help would be greatly appreciated!

initialLatex: "y = "
submitDisabled: this.submitCount = 3
check1= this.latex “3x^{2}-15”
correct: check1
suffix: when not(this.submitted) “”
when check1 “:white_check_mark:
otherwise “:x:

One thing is you need to parse the equation because this.latex will include the y=.
However there is some danger in matching exact latex. See this activity.