Hey all a few quick questions

Im fine calculating simple uniform series equations, my issue arises when the amount changes half through a series and also when you have a starting amount different from your deposits. I'll make up a question as an example

Lets say,

Chad opens a bank account and immediatly deposits $2000, from here he will make yearly payments of $500 for the next 5 years before increasing the deposit to $1000 for the for the 5 years after this.

How much money will chad have in his account after 10 years?

So thats my issue!! If someone could talk me through it step by step that would be great!

Another quick question, what is the easiest way to do formula (as shown below) on a computer

Thanks

Kel