If the first term of an A.P. is a and nth term is b, then its common difference is
Here, we are given the first term of the A.P. as a and the nth term (an) as b. So, let us take the common difference of the A.P. as d.
Now, as we know,
On substituting the values given in the question, we get.
Hence the correct option is (b).