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