Two corners of a triangle have angles of 5π12 and π12. If one side of the triangle has a length of 6, what is the longest possible perimeter of the triangle?