The terms of the sequence are 5, -1, -7
Let us find the common difference between each two consecutive terms
-1 - 5 = -6
-7 - (-1) = -7 + 1 = -6
Then the common difference is -6
The first term is 5
The recursive formula is
Substitute in the formula the value of the 1st term and d the common difference
Remember (+)(-) = (-)
This is the recursive formula for the sequence