The probability that the next animal out of the same stable will be a horse, is (probability it was stable 1 times probability next animal out of stable 1 is a horse) plus (probability it was stable 2 times probability next animal out of stable 2 is a horse).
Now, probability next animal out of 1 is a horse is (on the simplest assumption) 20/33, and probability next animal out of 2 is a horse is 25/33, so we just have to find probability it was stable 1, given that a horse came out of it (and probability it was stable 2, but that's just one minus probability it was stable 1).
Let's write it as $P(1|H)$. Presumably you have a formula for $P(A|B)$ in terms of $P(A\cap B)$ and $P(B)$. You will need to work out a few things like $P(1)$ and $P(H|1)$ and $P(H\cap1)$ --- can you see your way through this now?