Task: Mathematics
Input (English): x = 9, equation weights = [8, 5, 4]
Output (English): 697