Pātuhitia tēnei: Analytical Coordinate Geometry of Two and Three Dimensions