You simply MUST learn to describe cash flows with Basic Principles.

With a few definitions:

i = 0.01

v = 1/(1+i)

This one is easily written:

20000 + 8000(v + v^3 + v^7 + ...)

Your only remaining task is to add up the expression in the parentheses.