The nth term of a sequence is given by the formula:

Where

From the question given
We are told that the first term is -17
the common difference is 5
We will simply substitute these values into the formula

Simplifying
we will have

Simplifying further, we will have

So If we compare the answer above with what is required in the question, we will have

Therefore we will have