def my_linear_model(B, x):
    """Linear function for the regression.
     
    Args
        B (1D array of 2): Input 1D polynomial parameters (0=constant, 1=slope)
        x (array): Array which will be multiplied by the polynomial
    
    Returns
    -------
        An array = B[1] * (x + B[0])
    """
    return B[1] * (x + B[0])