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