Ok so this is really bugging me, because I thought i finally understood it, but then my book is giving me different answers to what I'm getting.

Anyways, heres the problem, can anyone answer it and show working , so I can learn. Thanks

Given P(R|S) = 0.5, P(R|S') = 0.4 and P(S) = 0.6 find:

(a) P(R) (b) P(S|R) (c) P(S'|R) (d) P(S'|R')