Task: Mathematics
Input (English): x = 9, equation weights = [0, 7, 3, 2]
Output (English): 596