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