Application problem with a linear function - Finding a coordinate given two points