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