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