def ymxc_line_points(m, c, min_x, max_x, step=1):
    """
    Function to return the points for y = mx + c
    """

    x_values = []
    y_values = []

    x = min_x

    while x <= max_x:
        y_value = m * x + c
        x_values.append(x)
        y_values.append(y_value)

        x += step

    return (x_values, y_values)