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