Here, let us take the first term of the A.P as a and the common difference of the A.P as d
Now, as we know,
So, for 3rd term (n = 3),
Also, for 5th term (n = 5),
For 7th term (n = 7),
Now, we are given,
Substituting the value of d in (1), we get,
So, the first term is 4 and the common difference is 6.
Therefore, the A.P. is