How to check correct with a logarithmic equation (not base 10)

Hi - I am trying to have students rewrite exponential equations as logarithmic equations. I would love it to self-check.

I tried converting the student response to latex and using that in my correct sink, but it doesn’t work. Not sure what to try next.

Here is a link to the slide:
Logs and Exponents Troubleshooting

It’s really, really difficult to match latex, but this works:

isCorrect = numericValue(parseEquation(this.latex).rhs) = numericValue(parseEquation(this.latex).lhs) and countNumberUsage(this.latex,2)=1 and countNumberUsage(this.latex,32)=1 and countNumberUsage(this.latex,5)=1

I’d also add this line in, so it doesn’t show the calculation (and then undefined once an = is inserted):
disableEvaluation: true

Thank you so much! I really appreciate it - worked like a charm!