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