Coordinate Geometry Solver