Case 1: A is bounded. In this case, $A\subset [a,b]$ for some a,b. There exists a closed set $B\subset A$ of measure m(B) such that $m(B)\in (q, m(A)]$.
Step 2: Here $f(t)= m([a,t]\cap B)$. In your case, $a=-\infty$ but in my case a is a real no. $f$ is continuous and increasing so must attain q at some c. So $C=[a,c]\cap B$ is a closed set of measure q.