A triangle has one side that measures x, another side that measures 2x, and a third side that measures 5 less than x. The perimeter is 31 inches. Which equation would you use to find the value of x? Explain your answer
A. x + 2x + x - 5 = 31
B. x + 2x + x + 5 = 31
C. x + 2x - x - 5 = 31
D. x + 2x - x + 5 = 31