How do I self check a table with a randomized variable?

I’m trying to create practice problems for students where the students are given a random value and need to complete a table based on this value, varying the value for each student. Is it possible to check the answers based on the random values?

The answers do have to be calculated based on the formulas that I have in the table.