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