def construct_common_line(avg_line_params, image_shape):
    """
    This method constructs common line from the average of slope and intercept of the respective lanes

    Parameters
    ----------
    avg_line_params : list
        list containing average of slope and intercept
    image_shape : tuple
        tuple of shape of the image
    
    Returns
    -------
    list:
        List constains x and y coordinates of common line
    """
    avg_slope = avg_line_params[0]
    avg_intercept = avg_line_params[1]
    y1 = image_shape[0]
    y2 = int(y1*(7/10))
    x1 = int((y1 - avg_intercept)/avg_slope)
    x2 = int((y2 - avg_intercept)/avg_slope)
    return [x1, y1, x2, y2]