A triangle has one side that measures 12, another side that measures x, and a third side that measures 4 less than x. The perimeter is 26.

Which equation would we use to find the value of x?