Check for correctness of two points dragged specific locations on a graph

This seems to me that I am making a really easy task hard… How do you code for two different draggable points to be moved to a specific coordinate on a graph?

This is in order to be able to check for their correctness.

You can check it all inside the graph, and then pull the correctness number (in this case, C) from the graph using CL. check 2 points | Desmos

THANK YOU SO MUCH! I was able to crank out several questions using this!! I sincerely appreciate your help! Have a great remainder of the weekend!