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