Hello Theresa,
The problem with your program is 1) it is complaining there no closing brace for the class and 2) the parameters for the distanceFinder method are all Points so it should read distanceFinder(Point x, Point y, Point z) just like the constructor - you can't have Point(doube a,b).
To better organize your code, you may want to use braces for if-else statements. Then
you should see what went wrong (1).