The length of a rectangle is 2 inches less than three times its width. If the perimeter of the rectangle is 108 inches, find its length and width.