Writing the equation of a square root function given two points