Task: Mathematics
Input (English): x = 3, equation weights = [5, 3, 9, 8]
Output (English): 197