if you have followed this properly your screen should look like below complete for events editor now:
Please remember there are lots of maths calculations are involved and I am not going to teach anyone maths therefore look at the line individually and study it carefully. Only thing I will do on Event Editor is show you all the lines of code, that is it nothing more or nothing less. If you wish to learn about maths my advice is learn it. Not hard if you try it.
Now please open your Event Editor and add these lines:
Good luck and god bless