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