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