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