You write that $P(S|L)=0.4$ (the probability that the person had surgery given that they lived is 0.4) and $P(S|D)=0.1$ (the probability that the person had surgery given that they died is 0.1). $$ P(L\cap S)=P(L|S)\times P(S)=P(S|L)\times P(L) $$ Thus $$ P(L|S)=P(S|L)\times{P(L)\over P(S)} $$ Now $$ \begin{align} P(S)&=P(S|L)P(L)+P(S|D)P(D)\\\ &=0.4\times 0.4+0.1\times0.6\\\ &=0.22 \end{align} $$ Can you finish it?