def evaluate_x_on_line(x, line):
    """
    Finds the y for a given x on a line
    

    Parameters
    ----------
    x : int or float
        x to be evaluated.
    line  sympy line2d object
        DESCRIPTION.

    Returns
    -------
    The value of y at x.

    """
    A, B, C = line.coefficients
    
    m = -A/B
    b = -C/B
    
    return m*x + b