Two points are selected randomly on a line of length $L$ so as to be on opposite sides of the midpoint of the line. Find the probability that the distance between them is greater than $L/3$.
I was able to figure out that one point will be uniformly distributed on $(0,L/2)$ and the other on $(L/2,L)$, but I don’t know how to proceed further.

Analytic solution. Let $x$ and $y$ be the points in $[0,L]$ such that $0\le x\le \frac L2\le y\le L$. The PDF is $f(x,y)=\frac{4}{L^2}$. We need to find $P\left(y-x\ge \frac L3\right)$.
Note that $y-x\ge \frac L3 \Rightarrow y\ge x+\frac L3\ge \frac L2 \Rightarrow x\ge \frac L6$. Hence, we can divide $x$ into two intervals: $$\begin{cases}0\le x\le \frac L6\\ \frac L2\le y\le L\end{cases} \ \ \ \ \text{or} \ \ \ \ \ \begin{cases}\frac L6\le x\le \frac L2\\ x+\frac L3\le y\le L\end{cases}$$ The required probability is: $$\begin{align}P\left(y-x\ge \frac L3\right)&=\int_0^{L/6} \int_{L/2}^{L} \frac 4{L^2} dydx+\int_{L/6}^{L/2} \int_{x+L/3}^{L} \frac 4{L^2} dydx=\\ &=\frac13+\frac49=\\ &=\frac79.\end{align}$$