How can I verify that X=2 is a correct answer?