def generate_url_fragment(title, blog_post_id):
    """Generates the url fragment for a blog post from the title of the blog
    post.

    Args:
        title: str. The title of the blog post.
        blog_post_id: str. The unique blog post ID.

    Returns:
        str. The url fragment of the blog post.
    """
    lower_title = title.lower()
    hyphenated_title = lower_title.replace(' ', '-')
    lower_id = blog_post_id.lower()
    return hyphenated_title + '-' + lower_id