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