Putting x=0 makes both the numerator and the denominator 0. Take x common in the numerator.
x→0limbsinxax+xcosx=x→0limbsinxx(a+cosx)
=b1(x→0limsinxx)(x→0lim(a+cosx))
Since x→0limxsinx=1, we also have x→0limsinxx=1.
=b1⋅1⋅(a+cos0)
=ba+1
∴ The limit is ba+1.