To assist OP & at the risk of downvoting , I will add a very simple answer which the Particular numbers involved here allow (The Duplicates do not seem to allow this method) . . . .
Let $X=\sqrt{18} - \sqrt{12}-\sqrt{45} + \sqrt{6}=3\sqrt{2} - 2\sqrt{3}-3\sqrt{5} + \sqrt{2}\sqrt{3}$
Hence $X - 3\sqrt{2} + 2\sqrt{3} - \sqrt{2}\sqrt{3} = - 3\sqrt{5}$
Squaring will eliminate $\sqrt{5}$ , while retaining $\sqrt{2}$ & $\sqrt{3}$ & $\sqrt{2}\sqrt{3}$
Move the terms around to get :
$\square 1+\square \sqrt{3} = \square \sqrt{2} + \square \sqrt{2}\sqrt{3} = \sqrt{2} ( \square + \square \sqrt{3} )$ , where $\square$ indicates some arbitrary Co-Efficients involving $X$ , $X^2$ & Constants , though not involving radicals.
Square this to eliminate $\sqrt{2}$ , while retaining $\sqrt{3}$ on either side.
Collect all $\sqrt{3}$ terms to make it $\sqrt{3}=\square/\square$ which is a Contradiction.
[[ Checking that it is not $0/0$ is left out here , though it is not very hard ]]
Summary / Overview :
This is a Proof By Contradiction.
Assume that the given $X$ is rational.
What will that tell us about $X^2$ ? That too must be rational.
What about $X^2-6X+8$ ? Rational too.
What about $1/(X^2-6X+8)$ ? Rational too.
Basically , we can Add , Subtract , Divide , Multiply (& Square !) rational numbers to get new rational numbers.
What occur when we have $Y=(X^2+12X+32)/(X^2+3X+2)$ ?
That $Y$ must be rational too.
Well , when we have $\sqrt{3}=(X^2+12X+32)/(X^2+3X+2)$ , we will get Contradiction that $\sqrt{3}$ is rational , which is not true.
What will that Contradiction tell us about our original assumption ?
Well , that assumption must be not true : We then know that the given $X$ is not rational.