Calculate f(x) through 2 coordinate points | ScratchStats