The length of a rectangle is 3 less than twice the width. Write a function rule for the perimeter in terms of w, the width