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