Pointing.javaleena

I got an error on lines 23 and 37 of PointMain saying "distance(int,int) in Point cannot be applied to (Point)". Something is wrong with my distance method but I have no idea what.