In my approach, I attempted a proof by contrapositive, where it is assumed that $X^2$ is rational and $X$ is also rational.
Therefore, we can represent $X^2$ with a ratio of two integers, $a$ and $b$, where $b$ is not equal to zero: $$X^2 = a/b.$$
Then, by applying the square root to both sides, we can see that $X$ is equal to $\sqrt{a/b}.$
Is this a contradiction to the fact that $X$ is also rational? Is the square root of $a/b$ sufficient to deduce whether or not a number is rational?
Consider $2\in\Bbb Q$. We have $\sqrt{2}\notin \Bbb Q$. Hence the result is false.