One side of a rectangle is 9 millimeters shorter than six times the other side. Find the length of the longer side if we also know that the perimeter of the rectangle is 150 millimeters.