<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def make_thumbnail_name(image_name, extension):
 """Return name of the downloaded thumbnail, based on the extension."""

    file_name, _ = os.path.splitext(image_name)
    return file_name + '.' + clean_extension(extension)