This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] $\sum x=7\times8=56$, so the remaining sum is $56-14=42$ and $a=\frac{42}6=7$. $\sum x^2=7(16+64)=560$, so the remaining $\sum x^2=560-196=364$. $b=\frac{364}6-49=\frac{182}3-49=\frac{35}3$. Then $a+3b-5=7+35-5=37$. Answer: 37.