The length of a rectangle is 5 inches shorter than 3 times the width. Which expression represents the length of the rectangle in terms of the width, w?