Solve for q 1/2-1/8q=(q-1)/4