Task: Mathematics
Input (English): x = 7, equation weights = [0, 2, 8, 5, 7]
Output (English): 1120