The first term in an arithmetic sequence is 5. The third term in the sequence is -1. The tenth term in the sequence is -22.

Which function can be used to find the nth term of the arithmetic sequence?

A.
f(n) = n + 4

B.
f(n) = -n

C.
f(n) = 0.5(n + 5) + 2

D.
f(n) = -3n + 8