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