Two corners of a triangle have angles of #pi / 3 # and # pi / 6 #. If one side of the triangle has a length of #9 #, what is the longest possible perimeter of the triangle?