Task: Mathematics
Input (English): x = 9, equation weights = [1, 2, 4, 3, 8]
Output (English): 8378