-6q+5.8=23.8

subtract 5.8 from each side.

-6q=18
divide both sides by -6
q= -18/6 =-3