Help with Arduino program

So you just need to rewrite that paragraph in C really...