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