Two corners of a triangle have angles of ( pi )/ 2 and ( pi ) / 4 . If one side of the triangle has a length of 17 , what is the longest possible perimeter of the triangle?