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