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