In order to solve this, all you need to do is cancel out terms until you have n on one side of the equal sign and everything else on the other side.
14n + q = rt – 4n (add 4n to both sides to combine 4n and 14n) 18n + q = rt (subtract q from both sides) 18n = rt – q (divide both sides by 18) n = (rt – q) ÷ 18