In a rectangle, the diagonals are equal in length. Therefore, we can set the lengths of the diagonals AC and BD equal to each other:
\[ AC = BD \]
Substituting the expressions for AC and BD, we get:
\[ x + 7 = 3x - 5 \]
Now, let's solve for \(x\):
- Subtract \(x\) from both sides:
\[ 7 = 3x - x - 5 \] \[ 7 = 2x - 5 \]
- Add 5 to both sides:
\[ 7 + 5 = 2x \] \[ 12 = 2x \]
- Divide by 2:
\[ x = 6 \]
So the value of \(x\) that makes ABCD a rectangle is:
\[ \boxed{6} \]
Therefore, the correct answer is c. \(x = 6\).