Task: Mathematics
Input (English): x = 2, equation weights = [9, 5, 6, 8, 7]
Output (English): 231