Pick two points uniformly at random inside a regular n-gon.
If you specify any two sides by their order, say side 0 and side j, then the probability that the line containing the two random points passes through those two sides is:
16 sin(j π/n)^4 /(3n^2)