7. Assume $X_1, \cdots, X_n$ are i.i.d. uniform(0, a), a > 0. Let $X_{(1)}, \cdots, X_{(n)}$ denote the order statistics of $X_1, \cdots, X_n$. Define $R = X_{(n)} - X_{(1)}$ and $V = (X_{(1)} + X_{(n)})/2$. Find the joint distribution of $(R, V)$ and the marginal distributions of $R$ and $V$. (15%)