Can anyone drop an easily editable script for checking coordinate points that I could edit and play around with?

I am trying to create an activity where students will input the solution to a system of linear inequations, but I want it to be self checking. Hoping to learn and get better at this, so if anyone can help it would be greatly appreciated!

Thank you in advance!

Below is what I have so far for the system of:

y = -x+3

y = 4x -2

The solution (and what i want students to type is) is: “(1, 2)”

**Current Code:**

problem = systems1

answer = “(left(1,2right)”

studentAnswer = systems1.explainContent

content: when studentAnswer = answer “Your answer of: ${studentAnswer} is CORRECT!”

otherwise “Your answer is incorrect, please try again”

The otherwise statement is not changing, and it will not display that the correct answer has been typed in!