An equilateral triangle has all its sides equal. If the sides of the triangle are given as x + 12, 2x - 5, and 3x - 22 inches, what is the common length of all three sides?

(a) 17 inches
(b) 29 inches
(c) 32.5 inches
(d) 44.5 inches