Answer:
First let see if we can simplify the piecewise.

So rewrite the top equation as x+2.
Second, let evaluate the equation.
For a function to be continuous, one sided limits must be equal to each other so
Limit as of x+2 approaches two, must equal the limit as x approaches ax^2-bx-14
We direct subsitue for both functions.




Also the limit as x approaches 3 of 10x-a+b must equal the limit of ax^2-bx-14 as x approaches 3.
So we direct subsitue again




Set them equal to each other


Now,we have a system of equations

and

Eliminate b variable.

Add both equations so we get




Plug back in to solve for b.




So a=4 ,b=-1