Create a Python function that takes a list and an integer as inputs and returns a new list with every item in the original list multiplied by the integer.
list = [3, 2, 1]
integer = 5
def multiply_list(lst, i):
  return [j * i for j in lst]

result = multiply_list(list, integer)
print(result) # [15, 10, 5]