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