He goes to the gym 0, 2, or 3 days per week.
Let's assume P(0 days)=p, P(2 days)=q, and P(3 days) = r.
So, p+q+r = 1
E(X)= E(x=0)*P(0 days) + E(x=2)*P(2 days) + E(x=3)*P(3 days)
E(X) = 0*p + 2*q + 3*r = 2q + 3r
Given is the value of P(0 days) = p = 0.1
Given is the expected value of number of days is E(X) = 2.05
Therefore, we have 0.1 + q + r = 1 and 2q + 3r = 2.05
Or, q + r = 0.9 and 2q + 3r = 2.05
Solving the two equations :-
(2q+3r)-2*(q+r) = 2.05-2(0.9)
r = 0.25
q = 0.65
Therefore, P(2 days) = 0.65 and P(3 days) = 0.25