One side of a triangle is 6 units longer than a second side. the ray bisecting the angle formed by these sides divides the opposite side into segments that are 9 units and 12 units long. find the perimeter of the triangle. give your answer as a reduced fraction or exact decimal