Task: Mathematics
Input (English): x = 8, equation weights = [9, 7, 2, 6, 4]
Output (English): 40628