pub fn calculate_intersection_of_two_lines(
    line1: &[Point2d; 2],
    line2_angle: f64,
    line2_point: Point2d
) -> Point2d