First, sorry for any grammar mistake... english isn't my native language.
So, i was solving these math problems when i faced with a question that seemed easy but when i started to solve it, I failed misarable. :(
The question says about this guy that start running 700 meters in 10 minutes and slow down in a rate of 20 meters every 10 minutes. So between 10-20min he runs 680m and so on. The question wnats me to create a function that gives how much he ran in a certain time 'x' (minutes). How do i do it?