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