I have a factoring question that I want to check using computation layer. The question is for the student to factor x^2+6x+8. There are, obviously, two correct answers that the students could give - either (x+4)(x+2) or (x+2)(x+4).
Currently my CL reads:
ans=this.latex
check1= ans=`(x+2)(x+4)`
check2= ans=`(x+4)(x+2)`
submitDisabled: this.submitCount=1
correct: check1 OR check2
Unsurprisingly, this is not working. Is there a way to make this work?