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