$X$ is a uniform random variable. It has the expected value $E[X] = 10$ and the probability $P[X\geq 12] = \frac{1}{4}$. What is the probability $P[X\leq 9]$?
Here is how I attempted it: $P[X\geq 10] = \frac{1}{2}$ because it is uniform. $P[X\geq 12]$ is $2$ away from $P[X\geq 10]$. $$(1/4)/2 = 1/8.$$ So it is $\frac{1}{8}$ between each integer. $P[X\leq 9]$ is $1$ integer away from $P[X\geq 10]$, so $$P[X\leq 9] = \frac{1}{2} - \frac{1}{8} = \frac{3}{8}.$$
I know this is a messed up way to solve it and I don't even know if it's right. There must be a more coherent way?
To be serious, I guess you could assume $X$ is uniform continuously in the interval $[a,b]$ with a PDF:
$$f_X(x) = \cases{\dfrac1{b-a}&for a < x < b\\0&otherwise}$$
The expected value $E[X] = 10$, which gives one linear equation: $$\frac{a+b}{2} = 10$$
From $P[X\ge 12]$,
$$\begin{align*} \frac14 &= P[X\ge 12]\\ &= \int _{12}^b \frac{dx}{b-a}\\ &= \left[\frac{x}{b-a}\right]_{12}^b\\ &= \frac{b-12}{b-a}\\ 48 &= a + 3b \end{align*}$$
Solve for $a$, compare it with the $9$ in $P[X<9]$, and since $a = 6 < 9$,
$$\begin{align*} P[X<9] &= \int_a^9 \frac{dx}{b-a}\\ &= \left[\frac x{b-a}\right]_a^9\\ &= \frac{3}{8} \end{align*}$$