The problem is actually already solved by Jyrki's comment, since the only way to satisfy the given conditions is that the $3$ voters have the cyclical preferences given in his example, or the opposite preferences. Thus you just need to count the number of times each of the candidates wins under the proposed "solution", given such a preference set.
As you don't explain how the probabilities you introduce are to be interpreted (the problem statement has no probabilistic elements), I can't say much about your approach. The second displayed equation seems to make no sense, as it contains conditional probabilities of one candidate winning given that another candidate wins, which should be zero.