My class was given an assignment of proving the roots of 3, 6, and 12 as irrational. I have solved 3 and 6, and tried using what I did there for 12, but it is not working out. Someone help me out please?

Here is the prob:

If n^2=12, then n is not rational.