To solve for q, subtract 6 from both sides to undo the addition, and you will get 1/5q = 4. Then multiply each side by 5 to undo the division, and you'll end up with q=20. Also, to double check that 20 is the answer, substitute 20 in for q in the original equation, simplify, and see if both sides equal the same value, in this case both sides would equal 10.