Task: Mathematics
Input (English): x = 8, equation weights = [0, 6, 1, 2]
Output (English): 394