we are given

we need to find a and b
we can see that there is a hole at x=3
It means that (x-3) will be factor in both numerator and denominator
so, if we plug x=3 in the denominator we will get denominator value as 0

.........(1)
we can see that
there is a vertical asymptote at x=-4
so, denominator must be zero at x=-4

.........(2)
we can subtract equation-1 and equation-2
we will get

now, we can find b


so, we will get

..............Answer