The length of a rectangle is 5 more than twice the width. Write an expression for the perimeter of a triangle.

A. 2x+5
B. 3x+5
C. 6x+10
D. 4x+10