Non-Euclidean Spaces: Spacetime Metric and Geodesic Equation