The total number of votes cast is \( 1,15,000 \), out of which \( 5,000 \) votes were invalid. Therefore, the number of valid votes is:
\[
\text{Valid Votes} = 1,15,000 - 5,000 = 1,10,000
\]
The shares of valid votes for the candidates are as follows:
A: \( 40\% \)
B: \( 25\% \)
C: \( 20\% \)
D: \( 15\% \)
Step 1: Calculate the valid votes for B and C.
The percentage of valid votes received by candidates B and C combined is:
\[
25\% + 20\% = 45\%
\]
The number of valid votes corresponding to \( 45\% \) is:
\[
\text{Votes for B and C} = \frac{45}{100} \times 1,10,000 = 49,500
\]