Task: Mathematics
Input (English): x = 1, equation weights = [0, 4, 3, 2, 9]
Output (English): 18