Let me start off by noting that I know this question: Prove that $\mathbb P(X>Y) =\frac{b}{a + b}$ if $X, Y$ are exponentially distributed with parameters $a$ and $b$. and understand how it works.
However, I figured there might be another way to solve it which doesn't seem to work out. So I'm asking this in the hope that someone can tell me why this type of argument fails.
Here's my idea:
Writing $P(X>Y)$ is the same as writing $P(X>a>Y)$, so we might as well split this to $P(X>Y) = P(x>a)P(Y<a)$, as $X$ and $Y$ are independent. But this equals $(1-P(x<a))(P(Y<a)) = (1-(1-e^{ax}))(1-e^{bx}) = e^{-ax}-e^{-(a+b)x}\neq \frac{b}{b+a}$