6. (12 points) Let \( X \) be a random variable with an \( F_{p,q} \) distribution. Show that \( (p / q)X / [1 + (p / q)X] \) has a beta distribution with parameters \( p / 2 \) and \( q / 2 \).