Since one angle is 90° and other is 45° ...so by angle sum property the third angle is also 45° ..
There is a theorem which states equal angles in a triangle have their opposite sides equal...hence base is also 6 ...then by Pythagoras Theorem..... x=√72=6√2