The length of a flat screen TV is 5 inches less than 3 times its width. If the perimeter of the TV is 150 inches, find the dimensions.