Task: Mathematics
Input (English): x = 8, equation weights = [0, 4, 5, 2]
Output (English): 298