Given triangle ABC with right angle A, angle B with a measure of 30\({}^{\circ}\), and AC equal to 3\(\sqrt{3}\), which of the following is the length of side AB?

W) 9

X) 6\(\sqrt{3}\)

Y) 9\(\sqrt{3}\)

Z) 12\(\sqrt{3}\)
W) 9