You can put this solution on YOUR website! First thing you want to do is isolate the q on one side. Move everything over to the left. You should get something like this:
You just combine the q's together and then solve.
You can check by plugging -2 back in for q to make sure the equation makes sense.
Hope this helps!