Step 1: Write the given equation:
The total probability is given as:
\[
P(0) + P(1) + P(2) + P(3) + P(4) = 1
\]
Substituting the known values:
\[
0.1 + k + 2k + k + 0.1 = 1
\]
where \( P(1) = k \), \( P(2) = 2k \), and \( P(3) = k \).
Step 2: Simplify the equation:
Combine the terms:
\[
0.2 + 4k = 1
\]
Subtract \( 0.2 \) from both sides:
\[
4k = 0.8
\]
Divide by \( 4 \) to find \( k \):
\[
k = 0.2 = \frac15
\]
Step 3: Find \( P(2) \):
Given \( P(2) = 2k \), substitute the value of \( k \):
\[
P(2) = 2 \times \frac15 = \frac25
\]
Conclusion:
The value of \( P(2) \) is \( \mathbf\frac25 \) .