def apply_eqn(x, eqn):
    """
    Given a value "x" and an equation tuple in the format:
        (m, b)
    where m is the slope and b is the y-intercept,
    return the "y" generated by:
        y = mx + b
    """
    m, b = eqn 
    return (m * x) + b