Task: Mathematics
Input (English): x = 2, equation weights = [4, 1, 3, 8, 7]
Output (English): 107