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