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