Complementary angles add up to 90 degrees. Given the two angles: one is 25 degrees and the other is \(5x\) degrees, we can set up the equation:
\[ 25 + 5x = 90 \]
Now, subtract 25 from both sides:
\[ 5x = 90 - 25 \] \[ 5x = 65 \]
Next, divide both sides by 5:
\[ x = \frac{65}{5} \] \[ x = 13 \]
So, the value of \(x\) is 13.