Determine all real numbers $q$ for which the equation $x^4 - 40x^2 + q = 0$ has four real solutions that form an arithmetic progression.

Let's think step by step and output the final answer within \boxed{}.
user