A triangle with angle measures \(30\degree, 60\degree, \text{and } 90 \degree\) has a perimeter of \(9+3\sqrt{3}\). What is the length of the longest side of the triangle?