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