In \triangle A B C, \angle C=90^{\circ} and A B=12. Squares A B X Y and A C W Z are constructed outside of the triangle. The points X, Y, Z, and W lie on a circle. What is the perimeter of the triangle?
Answer Choices
A. 12+9 \sqrt{3}
B. 18+6 \sqrt{3}
C. 12+12 \sqrt{2}
D. 30
E. 32