In a given triangle, the largest side is 3 less than twice the length of the smaller side. The other side (that is not the smallest or largest) is 6 units longer than the shortest side. Write an expression that represents the perimeter of the triangle if x represents the length of the smallest side. (hint: label all three sides)



A: 6x – 12

B: 4x + 3

C: 3x^2 – 4x + 1

D: 3x + 6