Using table inputs to check for solution to linear equation

My students are modeling linear functions from word problems. I have a table for them to enter an x and y value that would be a solution to the linear equation.There are multiple correct solutions. I would like the third column to give them a check mark if the solution they come up with is correct. For example, the equation is 30x+20y=180. x and y can only be positive integers. I need help setting this up.
Here is the link for what I am trying to do:

Try and see if this is what you are looking for.

Thank you for you help! That works.