<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fix_indentation(code, new_indents):
 """Change the indentation of `code` to `new_indents`"""

    min_indents = find_minimum_indents(code)
    return indent_lines(code, new_indents - min_indents)