Suppose you are replacing the carpet in the living room where the length of the living room is five feet shorter than twice its
width, w. Tack strip is placed around the perimeter of the room, which is equal to five times the width. If carpet costs $2.99 a square foot, what the total cost to carpet the living room?