The question: Suppose 2 friends share the use of a car evenly, we will call the two friends Roger and James, respectively. We know that Roger will only use the car to drive to the grocery store, on the other hand when James uses the car, 1/3rd of the time he will drive to the grocery store.
If we were to see Roger and James car parked outside the grocery store with nobody inside, what are the odds that Roger is inside the grocery store ?
Solution: My logic is to draw a tree diagram and focus only on the possibilities that result in Roger at the grocery store, out of the total that includes both Roger and James, which so happens to be 3/4, can anyone confirm if this is correct ?
That is a valid solution. To confirm you may use Bayes' Rule (and the Law of Total Probability).
Using the events of $R,J,$ and $G$ to be "Roger took the car", "James took the car", and "the car was taken to the grocers", we have: $$\def\P{\operatorname{\sf P}}\P(R\mid G) =\dfrac{\P(G\mid R) \P(R)}{\P(G\mid J) \P(J)+\P(G\mid R) \P(R)}$$
Now, we are given: $\def\P{\operatorname{\sf P}}\P(J)=\P(R), \P(G\mid R)=1, \P(G\mid J)=1/3$ so....