def mul_matrix_pt(m, point): # pylint:disable=invalid-name
    """Multiplies the matrix with the point. Returns a new point."""
    x, y = point
    x2 = x * m.a + y * m.c + 1 * m.e
    y2 = x * m.b + y * m.d + 1 * m.f
    return x2, y2