Task: Mathematics
Input (English): x = 9, equation weights = [8, 3, 7]
Output (English): 682