To solve this problem, you'll want to start by distributing the 3 to both q and -7, which will give you 3q-21=27. Then, you should add 21 to both sides, which will get the variable alone on one side of the equation. After that step, your equation should be 3q=48. Lastly, divide both sides by 3, which will give you the answer q=16!