Question :If and show that are in A.P?

The solution which i got here is as follows.(PFA)

i don't understand how says it to be A.P.

if i am not wrong, a sequence is said to be in AP if the next number in the sequence differs from the previous number by a constant value D. So I'm confused with the solution.Will someone please explain?