Task: Mathematics
Input (English): x = 6, equation weights = [8, 1, 4]
Output (English): 298