Is this a joke question? Your findarea function calculates the midpoint, and you only output a default-constructed point. I'm not trying to be mean or rude, I just find it hard to believe.
You didn't show us any code that handles the inputting of the x and y coordinates. You showed us a function which, as @LB points out, is completely misnamed, and is never called in you code.
You didn't give us nearly enough information to know what you were trying to do, much less figure out what it was you were actually doing.
Please show us more code and describe what it is you are trying to do.