We use the relation between work, charge, and potential difference:
\[
\text{Work done} = \text{Charge} \times \text{Potential difference}
\Rightarrow W = QV
\Rightarrow V = \frac{W}{Q}
\]
Given:
\[
W = 50 \, \text{J}, \quad Q = 25 \, \text{C}
\Rightarrow V = \frac{50}{25} = 2 \, \text{V}
\]