Let these events be denoted by E1 and E2 i.e.,
E1 = Treatment of yoga and meditation
E2 = Treatment of prescription of certain drugs
P (E1) = $ \frac{1}{2}$ and P(E2) = $ \frac{1}{2}$
Let A denotes that a person has heart attack, then P (A) = 40% = 0.40
Yoga and meditation reduces heart attack by 30.
$ \Rightarrow $ Inspite of getting yoga and meditation treatment heart risk is 70% of 0.40
$ \Rightarrow P\left( {A|{E_1}} \right)$ = 0.40 $\times$ 0.70 = 0.28
Also, Drug prescription reduces the heart attack rick by 25%
Even after adopting the drug prescription hear rick is 75% of 0.40
$ \Rightarrow P\left( {A|{E_2}} \right) $ = 0.40 $\times$ 0.75 = 0.30
$P\left( {{E_1}|A} \right) = \frac{{P({E_1})P(A|{E_1})}}{{P({E_1})P\left( {A|{E_1}} \right) + P({E_2})P\left( {A|{E_2}} \right)}}$
$ = \frac{{\frac{1}{2} \times 0.28}}{{\frac{1}{2} \times 0.28 + \frac{1}{2} \times 0.30}}$
$ = \frac{{0.28}}{{0.28 + 0.30}} = \frac{{0.28}}{{0.58}} = \frac{{28}}{{58}} = \frac{{14}}{{29}}$