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